What are the PHP Dos and Donts on XSS?

Posted by AuGhost Ice on Stack Overflow See other posts from Stack Overflow or by AuGhost Ice
Published on 2011-11-13T09:27:13Z Indexed on 2011/11/13 9:50 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

Could any guru tell me the Dos and Donts of PHP when dealing with XSS issue?

What de facto principles shoud I use when passing parameters between forms and dbs to prevent XSS?

Are any of these maintaining state techniques of using 1. hidden form fields, 2.URL rewriting and 3.using cookies are vunerable to XSS?

Also, can any one recommend me a good article that gives basic guidelines on how to prevent such vunerabilites been expolited? Or any coding examples?

© Stack Overflow or respective owner

Related posts about php

Related posts about xss