Keygen tag in HTML5

SSL is about “server identification” or “server AND client authentication (mutual authentication)”. In most cases only the server presents its server-certificate during the SSL handshake so that you could make sure that this really is the server you expect to connect to. In some cases the server also wants to verify that you really are … Read more

What are best practices for securing the admin section of a website? [closed]

These are all good answers… I generally like to add a couple additional layers for my administrative sections. Although I’ve used a few variations on a theme, they generally include one of the following: Second level authentication: This could include client certificates (Ex. x509 certs), smart cards, cardspace, etc… Domain/IP restrictions: In this case, only … Read more

SSO with CAS or OAuth?

OpenID is not a ‘successor’ or ‘substitute’ for CAS, they’re different, in intent and in implementation. CAS centralizes authentication. Use it if you want all your (probably internal) applications to ask users to login to a single server (all applications are configured to point to a single CAS server). OpenID decentralizes authentication. Use it if … Read more

MD5 security is fine? [closed]

For storing passwords no fast hash function which include md5 and SHA1/2 (even when salted) is acceptable. You need to use a slow hash, typically in the form of a Key-Derivation-Function to slow down brute-force. PBKDF2 and bcrypt are popular choices. You should also use a random per user salt.