PHP/MySQL security--where to begin?

后端 未结 5 1946
广开言路
广开言路 2021-02-15 17:57

I\'m a PHP/MySQL noob who knows nothing about online security.

Could you point me to some resources that will aid in my knowledge? (Beginner level, please!)

5条回答
  •  余生分开走
    2021-02-15 18:20

    PHP might not be the best start. Especially if you're largely hand-rolling your own code. It doesn't exactly hold your hand with security issues. (fd: I wish PHP would go away for a variety of reasons.)

    But some general rules:

    • Don't trust anything that comes from the outside. Always assume the user is some jerk trying to break your app. Most of them won't be, of course, but there will eventually be one who is. Just because you gave the browser a
    提交评论

提交回复
热议问题