Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

What are the best practices to prevent XXS attacks? - XXS Best Practices

Asked by Aalap Prabhakaran Nov 29, 2021 797 views 1 answer
Share

About this question

I have a text field that allows the user to type whatever the user wants. After saving, the results are later displayed on the screen to potentially to a large audience. XSS seems a bit like black magic to me, so I am wondering what the current XXS best practices are for handling this situation (from specific ways to sanitize input to specific ways to encode HTML to display)?

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.