You are developing a login form for a web application. To enhance security, which of the following techniques should you implement to verify user credentials?
- Store Passwords in Plain Text
- Use Secure Hashing (e.g., Bcrypt)
- Implement Security Questions
- Allow Unlimited Login Attempts
To enhance security, you should use secure hashing techniques like Bcrypt to store and verify passwords. Storing passwords in plain text is a major security risk, and other options can lead to vulnerabilities.
Loading...
Related Quiz
- In PHP, the if statement is used to execute some code if a ______ is true.
- You have a PHP script and you need to get data sent in the URL's query string. How would you do this using the $_REQUEST superglobal?
- You have a PHP script that is running out of memory when trying to read large files. You discover that the files are not being closed properly. What changes would you make to fix this issue?
- What does the scope of variables mean?
- What are some common uses of the include statement in PHP?