I want to make sure that my site is protected from hacking attempts, and I believe that the best way to check is to try to hack my site myself. What things do hackers do to try to hack my site?
For instance,
Test - they can put javascript in the input field, for example,
<"open javascript tag">window.location = "www.somewhereelse.com";<"end javascript tag">
Protection - Use the php htmlentities function before displaying data.
What other things can I check to make sure my site is safe?
source share