PHP COURSE • LESSON 53
PHP Security Best Practices
Security is important when creating professional websites.
1
Password Hashing
Never store passwords as plain text.
Password Hash
$password = password_hash(
"mypassword",
PASSWORD_DEFAULT
);
2
Validate Input
Clean and check all user input.