woot586 woot586 - 1 year ago 110
PHP Question

Testing against hacking attempts

I want to make sure my site is protected against hacking attempts and I think the best way to test is to try and hack my site myself. What sort of things do hackers do to try and hack my site?


Test -
they might put javascript in a input field e.g.,

<“open javascript tag">window.location = “www.somewhereelse.com”;<“end javascript tag”>

Protection -
Use php htmlentities function before displaying data.

What other things can I test against to make sure my site is safe?

Answer Source

You will find an extensive list of attacks here: https://www.owasp.org/index.php/Category:Attack

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download