February 10, 2012, 06:51:16 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please support SEO4smf further development donating here or use paypal button from left menu.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Please support SEO4smf further development donating here or use paypal button from left menu.
Pages: [1]
  Print  
Author Topic:

How to prevent XSS in php?

 (Read 1416 times)
0 Members and 1 Guest are viewing this topic.
salsan
Newbie
*

Points: 0
Offline Offline

Posts: 1


« on: September 08, 2010, 04:38:52 »

What is the best way to prevent xss(Cross site scripting) when we use php? please list some examples also....
Logged



autopartsyoo
Jr. Member
**

Points: 0
Offline Offline

Posts: 10


« Reply #1 on: January 18, 2011, 04:07:06 »

Share,Gasgoo is a B2B platform for auto parts enterprises to provide including the Pipe Hose,Washing Nozzle,Body Panel,and many other auto parts purchases.
Logged
rustymagneto
Jr. Member
**

Points: 0
Offline Offline

Posts: 5


« Reply #2 on: June 24, 2011, 08:25:57 »

The simplest way is to disallow the user to enter any HTML formatted information.If you need to allow users to enter formatted text, then you have to create some sort of code like BBCode.
Logged

FlorentinaKosse9
Newbie
*

Points: 0
Offline Offline

Posts: 1


« Reply #3 on: July 22, 2011, 20:46:57 »

I think that one of the most important steps is to sanitize any user input before it is processed and/or rendered back to the browser.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!