Tips to prevent Cross Site Scripting (XSS)


In the last year the majority of security breaches in websites are related to XSS attacks. So it is very important to build websites keeping in mind a few rules to avoid beeing hacked. Also always handle data as beeing untrusted and consider it harmful. Only after careful sanitization you should start to begin trusting it.

The XSS (Cross Site Scripting) Prevention Cheat Sheet has a number of rules in order to prevent XSS (Cross Site Scripting) attacks. Among other things you should:

Hackers will find new ways to break websites so there are no guarantees, but obeying these rules will significantly decrease the chances of beeing hacked.

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like