A secure authentication project with php mysql
1- Front-side and backend side form validation
2- Prevent sql injection
3- CSRF protection
4- Simple session-based rate limiting
1- Login
2- Signup
3- Delete account
4- Change password
5- Admin account
1- Clone the repository :
git clone https://github.com/hosseinyn/PHP-Authentication.git
2- Move the project files to a localhost (for example xampp)
3- Create a new database in your mysql database and import the users.sql
file in database folder to that.
4- Config your database connection information in database.php
inside database directory
5- Open the localhost url
1- Advanced rate limiting (use redis for caching black list)
2- Use captcha for more security and prevent brute force attacks
3- Email-based welcome message , forgot password and verify