javascript - Prevent XSS flaws -


possible duplicate:
sanitize/rewrite html on client side

i working on html5 , jquery website parse data json files.

i have doubt on how prevent prevent xss flaws project , should optimize html5 , javascript don´t have issue xss.

xss flaw occurs on sites dynamically generate pages. web sites static pages not vulnerable xss.

xss flaws of 3 types.

  • persistent - user input consists of malicious software code gets stored in web application, , gets rendered thereafter in every request read along piece of data.
  • non-persistent - user input consists of malicious code returned in server's response request, doesn't stored in web app specific request.
  • dom-based - not involve web server, local web browser. think looking for.

check out this link explanation on xss. avoid xss must perform input validations.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -