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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. HTTPS and HTTP

HTTPS and HTTP

Scheduled Pinned Locked Moved ASP.NET
windows-adminsecurityhelp
3 Posts 2 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.
  • C Offline
    C Offline
    Chirag_Saglani
    wrote on last edited by
    #1

    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

    T 1 Reply Last reply
    0
    • C Chirag_Saglani

      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

      T Offline
      T Offline
      turbochimp
      wrote on last edited by
      #2

      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...’

      C 1 Reply Last reply
      0
      • T turbochimp

        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...’

        C Offline
        C Offline
        Chirag_Saglani
        wrote on last edited by
        #3

        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.

        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