Information Technology Questions and Answers Community

Protecting website from Cross Site Scripting attack

How can you protect your website from Cross Site Scripting attack? 

Web Application         PHP        
Your Answer: 

1 Answers

The php function htmlentities() could be used for this purpose.

Answered On 30 Mar at 11:45
Edit Account
LOGIN INFORMATION
Change Settings
Email Notifications Notifications will be sent to abcd@gmail.com
Select option for your email notifications:
Mature / News Filter We'll send on email when new jobs are posted
Option 2 for email notification We'll send on email when new jobs are posted