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. Web Development
  3. ASP.NET
  4. Verify SSL access

Verify SSL access

Scheduled Pinned Locked Moved ASP.NET
windows-adminsecurity
2 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.
  • M Offline
    M Offline
    mtone
    wrote on last edited by
    #1

    I want to make sure that all access to the Web Application is done thru the Secure URL. Is there a way to check this at the login page. I see that IIS has some settings to require secure communication but this is hosted and we have no control over this. Or do we need to ask the host to set this property in IIS. Thanks

    M 1 Reply Last reply
    0
    • M mtone

      I want to make sure that all access to the Web Application is done thru the Secure URL. Is there a way to check this at the login page. I see that IIS has some settings to require secure communication but this is hosted and we have no control over this. Or do we need to ask the host to set this property in IIS. Thanks

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      What I've done in the past is implement a redirection - check if the browser is requesting something through HTTPS, and if not, redirect to https://server/theSamePage.aspx. There are a number of approaches to this type of thing. Here are a few examples: Switching Between HTTP and HTTPS Automatically[^] Seamlessly moving requests in and out of SSL[^] Requiring HTTPS for Certain ASP.NET Pages[^]

      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