| Recommend this page to a friend! |
| Classes of Marcelo Costa | > | Mafia Session | > | Download .tar.gz .zip | > | > | > | |||||
|
| ||||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| This class can be used to authenticate Web users securely. It creates a key encoded with SHA1 based on the IP address and the current time when an user accesses the login page. The key is used to generate a salt value that is used to encrypt the password that the user enters in the login form. On the server side the class uses the same salt to verify whether the password entered by the user matches the password stored in a database. If the authentication is successful, the class starts an authenticated user session. The login keys, user and session information is stored in a database. Currently the class supports either MySQL or PostgreSQL databases. |
| Groups | ||
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Databases | Database management, accessing and searching | View top rated classes | |
| User Management | User records, authentication and session handling | View top rated classes | |
| Security | Security protection and attack detection | View top rated classes |
| Applications | Related links | |||||||
No application links were specified for this class.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||