What should be done to avoid Script Injection?

 Posted by Virendradugar on 12/29/2009 | Category: ASP.NET Interview questions | Views: 3116

To avoid script injection, following things can be done

1. Don't allow user to enter < and > characters as input.
2. Always Encode user's input and then store in the database.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response