Answer the question
In order to leave comments, you need to log in
Password protection and storage. How right?
Hello!
Essence:
There is a database with passwords. All passwords are stored in hashed form. Hashing is done using the password_hash PHP function. If the user enters "PasswordSecret1123123", then the following will be written to the database:
$2y$10$Vo1rzCRf8gQSu3FZDvxeEu4EkhEIvyAF1BGWPbgim5OhRdTjqEqJm
Answer the question
In order to leave comments, you need to log in
In fact, for a long time everyone has come up with for us =) You write the password to the database as a hash + salt and the password will be more difficult to pick up. Next, enter a captcha for entering a password and let's say a timer to make it difficult to sort through. You can also block the user after 5 unsuccessful entries and require confirmation of unblocking by email
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question