HTTPS and HTTP
-
I have a Web Service with 2 Web Methods. I want to call 1 by https and other by http. To get https, I have checked the "REQUIRE SECURE CHANNEL (SSL)" option in IIS. Due to this all the WebMethods of the WebService need to be called by https. And i want to call only 1 WebMethod by https. Someone please Help. Thanx
-
I have a Web Service with 2 Web Methods. I want to call 1 by https and other by http. To get https, I have checked the "REQUIRE SECURE CHANNEL (SSL)" option in IIS. Due to this all the WebMethods of the WebService need to be called by https. And i want to call only 1 WebMethod by https. Someone please Help. Thanx
Use a different site for one of the methods? I'm pretty sure IIS doesn't allow that level of granularity in configuration of SSL (unless something has changed radically since I was last playing with IIS), and since the secure socket requirement comes "before" your web request is processed by the ASPNet filter, I don't think your request will even make it to your page until the security restriction is satisfied. Why is https important for one method and not the other, or at all? Just curious.
The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’
-
Use a different site for one of the methods? I'm pretty sure IIS doesn't allow that level of granularity in configuration of SSL (unless something has changed radically since I was last playing with IIS), and since the secure socket requirement comes "before" your web request is processed by the ASPNet filter, I don't think your request will even make it to your page until the security restriction is satisfied. Why is https important for one method and not the other, or at all? Just curious.
The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’
thanx for the help. Well i thought that https should be used only wen needed. (cause it is heavier than http in terms of performance) Correct me if i am wrong. Is it that both perform equally efficiently if the data returned by the server is large ????? If both are same then PROBLEM SOLVED but..... If https is heavier at all... is there another way i can switch between http and https.