Integrate SSL

Discussion in 'Security' started by varun8211, Nov 12, 2006.

  1. #1
    I have installed Secure Certificate on my domain name..
    Now, my it runs fine as https://<sitename..
    but it also works on http://<sitename>.. which, I think.. it should not..
    do I have to do something for that or is it fine if it works as http://
     
    varun8211, Nov 12, 2006 IP
  2. j0ned

    j0ned Active Member

    Messages:
    684
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #2
    It's ok if http works too. If your user's are stupid enough to submit important data unencrypted, they deserve to be r00ted :p

    nah, just use some server side language to check for https, and if it's not defined, refresh the page to https.

    It'd be easy in coldfusion.

    <cfif IsDefined("ssl")>
    <cflocation url="https://site.com/secretinfo.cfm">
    <cfelse>
    <cflocation url="http://site.com/notencrypted.cfm">
    </cfif>

    something along those lines...
     
    j0ned, Nov 14, 2006 IP