r/programming • u/sarciszewski • Nov 25 '15
Don't use the OWASP PHPSec Crypto Library
https://gist.github.com/paragonie-scott/91893fdb18ee4d1a1b95
38
Upvotes
r/programming • u/sarciszewski • Nov 25 '15
View all comments
Show parent comment
14
u/[deleted] Nov 25 '15
Don't use PHP is great advice to new programmers starting web development. Just don't do it. The tutorials online are crap, the language is often hostile to them and they end up writing a whole bunch of vulnerable code (because web security is complex) without realizing it.
The whole concept of mixing HTML with the application logic is flawed, as is having executable files on the filesystem. One upload flaw and BAM, system compromise. Why? It's superficially simpler to lay pages out in a directory structure on disk but it's just one of the many terrible design choices PHP has made.