DEV Community

Discussion on: These 7 PHP mistakes leave your website open to the hackers

Collapse
 
moay profile image
moay

Thanks for your article. I appreciate your effort, but I don't think this is a good list for anyone unexperienced to read. In contains basically just two very basic rules:

  • 1 to 5: DONT TRUST USER INPUT
  • 6 and 7: DISABLE DEBUGGING STUFF IN PRODUCTION

These very basic rules are quite important, but it's

  • not seven things
  • not covering a lot of important things junior devs should think of.

If you are looking for a better read on what to keep in mind, read this: how2lab.com/internet/security/php-...

Collapse
 
smartscanner profile image
SmartScanner • Edited

Thanks. You are right. But I wanted to simply explain the common issues. I updated the article with a note. Thanks again.