What are some good practices for ensuring logins, session IDs and session content are secure for a website?
Tell me more
×
IT Security Stack Exchange is a question and answer site for
IT security professionals. It's 100% free, no registration required.
|
|||||||
|
|
Expire your session after a reasonable amount of time... Delete the session out of whatever your using as a repository so it can't be re-used... |
|||
|
|
|
In addition to VirtuosiMedia's list:
|
|||||
|
|
Implement DNSSec to protect your HTTPS session from attacks over Wifi, or public networks including hardwired/switched. Use HTTPS only for cookies that don't need Javascript access Use the Secure attribute for all others cookies Don't allow 3rd party javascript on your site Similar to the above, don't serve advertisements on your site |
|||
|
|
|
don't save password or other user information except user id to the session. |
|||
|
|
