Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the possible ways to prevent xss attacks on mvc application?

Answer Posted / Ramendr Pratap Singh

1. Input validation: Validate user inputs to ensure that they do not contain malicious code.n2. Content Security Policy (CSP): Implement a CSP to restrict the types of resources that can be loaded in your application.n3. Escaping and encoding user input: Properly escape and encode user input to prevent injection attacks.n4. Filtering user-supplied data: Remove any unnecessary or suspicious tags from user-supplied data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest mvc version?

1