Dear Expect,
after solving the SQL I issue ,
https://www.experts-exchange.com/questions/28335484/Sql-injection-in-php-limit-my-password-requirement-on-register-page.html
now I have one more question on
password requirement for user to register on my site.
What is the "at least x number of character on password" I need to set.
For example, there is a-z , A-Z, 0-9, , ','','#'$'......etc... around 70 characters for one character of password input so if where x is 3, the combination is 70*70*70=343000, right ?
x is 3 that is safe enough for security issue, right ?
Duncan
If you will allow unlimited tries without blocking the user for some time, it will be easily breackable. You will want to add some limits there, so the attacker will need more time than is feasible or reazonable for your scenario.
You should also consider server side protection, using salted hashes, to protect the password on the case someone gets into your server.
This article written by another expert is quite good on password security:
https://www.experts-exchange.com/Security/Misc/A_12386-How-secure-are-passwords.html
Please take a look on this thread where the server side and password transport scenarios were discussed too:
https://www.experts-exchange.com/questions/28304955/Sending-the-Password-over-network.html