I wanted to clarify two points on filtering.
1) Filter accepted user PASSWORD?
(Simply, we still hash it, whether there is a vulnerability, if not filtered)
2) Filter data from the session?
(As for me, nonsense, but I ask, and then paranoia already)
Source: https://ru.stackoverflow.com/questions/293999/
All Articles
PDO
- with proper use of sql injections, you can think less. - Indifferenttable
WHEREa
= '". $ _SESSION ["a"]. "'"; $ _SESSION ["a"] = "'"; And with hashes, everything is not always smooth - there are many algorithms. - Indifferent