In a Flask application, you are required to implement user authentication. How would you securely manage user passwords?

  • Hash and salt user passwords before storage
  • Store passwords in plain text for easy retrieval
  • Transmit passwords in HTTP headers for convenience
  • Use symmetric encryption for password storage
Securely managing user passwords in Flask involves hashing and salting them before storage. This ensures that even if the database is compromised, attackers can't easily recover passwords.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *