Hacker News new | ask | show | jobs
by koi 4716 days ago
not sure how that happened, its a cakephp site and I assumed the framework provided some protection against sql injection. its good its hacked now so I know to fix it
2 comments

I assumed the framework provided some protection against sql injection.

Some frameworks consider security out of the box to be beneath them. You should never assume you're secure even with a framework until you've gone combing through the docs and found where the security is, if it's anywhere, and if it's not anywhere because they spent all their effort on making it look and act like Ruby on Rails, how to get it.

Stop making websites and start reading about web app security, the OWASP top 10 is a good place to start.