Tag security

Transitioning to more secure passwords

With all the news of hacked databases (mostly at Sony) and the clear-text or poorly hashed passwords in their datasets, I thought I might offer my standard trick for transitioning to a more secure form of hashing. I think some sites don’t change passwords security for fear of annoying users or the workload involved in…

HTTP basic authentication in CakePHP with users from database

This is a few lines of code and explanations explaining how to get HTTP Auth to check against your normal users table.
Intended audience:
• You want to provide a protected RSS feed.
• You want to provide a protected API.