How do you create a HTTPS secure login inside standard HTTP?

Discussion in 'Programming' started by MikeLugar, Feb 28, 2011.

  1. #1
    I do not want to have SSL sitewide anymore and would like my homepage to just be HTTP. I have a login on the home page and I want to secure it with https. How would I go about doing this even though the home page will just be http?
     
    MikeLugar, Feb 28, 2011 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You just ensure that the login form posts to a secure page. Depending on how you handle security and if you want the pages behind the log in to also be secure or not you may need to set the cookie so that it can be read over a non secure request and that it doesnt contain log in details (otherwise it defies the purposes of using a secure log in)
     
    AstarothSolutions, Feb 28, 2011 IP