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?



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

Answer / 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

More MVC Model View Controller Interview Questions

What is mvc mvp mvvm?

1 Answers  


How does view data differ from view bag in mvc?

1 Answers  


What is difference between asp.net mvc and asp.net webforms?

1 Answers  


What is difference between MVC and MVP ?

1 Answers   PUCIT,


Who invented mvc?

1 Answers  


What is mvc programming?

1 Answers  


Mention what does model-view-controller represent in an mvc application?

1 Answers  


What is modelstate isvalid in mvc?

1 Answers  


How you can manage code security in mvc?

1 Answers  


List out a few different return types of a controller action method?

1 Answers  


What is the benefit of using mvc?

1 Answers  


Is mvc front end?

1 Answers  


Categories