Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. It's AJAX secure??????

It's AJAX secure??????

Scheduled Pinned Locked Moved The Lounge
designsysadminsecuritytutorialquestion
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GTuritto
    wrote on last edited by
    #1

    It struck me last night. We are spending hundred's of hour's and money developing this new Financial Application to be serve under the model of ASP, and we being using AJAX for all the UI's everything works fine and after we deal with some nuances, and figure out was how to dominate the beast, now I have an idea that can stop everything and send all our work to the garbage. I don't know how to set the xmlHTTPrequest object to comunicate on the secure layer. I am afraid that my pages will be server via SSL (port 443), but all my data will be travelling in the Wild Wild Web using port 80. If that is the case. someone knows how to prevented if not, we are doomed. :((

    M M G J 4 Replies Last reply
    0
    • G GTuritto

      It struck me last night. We are spending hundred's of hour's and money developing this new Financial Application to be serve under the model of ASP, and we being using AJAX for all the UI's everything works fine and after we deal with some nuances, and figure out was how to dominate the beast, now I have an idea that can stop everything and send all our work to the garbage. I don't know how to set the xmlHTTPrequest object to comunicate on the secure layer. I am afraid that my pages will be server via SSL (port 443), but all my data will be travelling in the Wild Wild Web using port 80. If that is the case. someone knows how to prevented if not, we are doomed. :((

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      Ummm. When your viewing an https page, doesn't all communication occur over SSL? I mean, that's sort of the point, isn't it? Marc

      Thyme In The Country

      People are just notoriously impossible. --DavidCrow
      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

      M 1 Reply Last reply
      0
      • G GTuritto

        It struck me last night. We are spending hundred's of hour's and money developing this new Financial Application to be serve under the model of ASP, and we being using AJAX for all the UI's everything works fine and after we deal with some nuances, and figure out was how to dominate the beast, now I have an idea that can stop everything and send all our work to the garbage. I don't know how to set the xmlHTTPrequest object to comunicate on the secure layer. I am afraid that my pages will be server via SSL (port 443), but all my data will be travelling in the Wild Wild Web using port 80. If that is the case. someone knows how to prevented if not, we are doomed. :((

        M Offline
        M Offline
        Michael A Barnhart
        wrote on last edited by
        #3

        You should be able to set the URL for the load request to be HTTPS instead of HTTP and also include the port number https://myaddress:443/\*

        G 1 Reply Last reply
        0
        • M Marc Clifton

          Ummm. When your viewing an https page, doesn't all communication occur over SSL? I mean, that's sort of the point, isn't it? Marc

          Thyme In The Country

          People are just notoriously impossible. --DavidCrow
          There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
          People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

          M Offline
          M Offline
          Michael A Barnhart
          wrote on last edited by
          #4

          Marc Clifton wrote:

          When your viewing an https page

          For the original request for the page, yes. but the AJAX call is a seperate URL request you are making.

          G 1 Reply Last reply
          0
          • M Michael A Barnhart

            Marc Clifton wrote:

            When your viewing an https page

            For the original request for the page, yes. but the AJAX call is a seperate URL request you are making.

            G Offline
            G Offline
            GTuritto
            wrote on last edited by
            #5

            That is waht I meant. I will have a page that goes using HTTPS and then when I do the callback the object goes and use the HTTP that is no secure, that defeats all the purpose of Security.

            1 Reply Last reply
            0
            • M Michael A Barnhart

              You should be able to set the URL for the load request to be HTTPS instead of HTTP and also include the port number https://myaddress:443/\*

              G Offline
              G Offline
              GTuritto
              wrote on last edited by
              #6

              I am not sure if I can do that. I think the browser's will not like that and give me some security error messages that in reality is a problem because no one will drop their's securitty because my App.

              D 1 Reply Last reply
              0
              • G GTuritto

                It struck me last night. We are spending hundred's of hour's and money developing this new Financial Application to be serve under the model of ASP, and we being using AJAX for all the UI's everything works fine and after we deal with some nuances, and figure out was how to dominate the beast, now I have an idea that can stop everything and send all our work to the garbage. I don't know how to set the xmlHTTPrequest object to comunicate on the secure layer. I am afraid that my pages will be server via SSL (port 443), but all my data will be travelling in the Wild Wild Web using port 80. If that is the case. someone knows how to prevented if not, we are doomed. :((

                G Offline
                G Offline
                GTuritto
                wrote on last edited by
                #7

                I guess the way to solve the dilemma it’s doing some test with a little WebApp using AJAX and installing a demo certificate. And see if I have some activity on the Port 80. I will keep you posted. For now I have to take care of my Family. :cool:

                1 Reply Last reply
                0
                • G GTuritto

                  I am not sure if I can do that. I think the browser's will not like that and give me some security error messages that in reality is a problem because no one will drop their's securitty because my App.

                  D Offline
                  D Offline
                  Daniel Grunwald
                  wrote on last edited by
                  #8

                  If the main page comes from "https://server/", why should the browser not allow the Javascript on that page to connect to the server?

                  1 Reply Last reply
                  0
                  • G GTuritto

                    It struck me last night. We are spending hundred's of hour's and money developing this new Financial Application to be serve under the model of ASP, and we being using AJAX for all the UI's everything works fine and after we deal with some nuances, and figure out was how to dominate the beast, now I have an idea that can stop everything and send all our work to the garbage. I don't know how to set the xmlHTTPrequest object to comunicate on the secure layer. I am afraid that my pages will be server via SSL (port 443), but all my data will be travelling in the Wild Wild Web using port 80. If that is the case. someone knows how to prevented if not, we are doomed. :((

                    J Offline
                    J Offline
                    Johnny
                    wrote on last edited by
                    #9

                    If your original pages are going over https then your XML requests will be too. Disengage headless chicken mode

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups