Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

What are the XSS best practises to prevent attacks?

Asked by Anil Jha Feb 28, 2022 502 views 1 answer
Share

About this question

 I have a text field that allows the user to type whatever he/she wants. After saving, the results are later displayed on the screen to potentially many people. XSS seems a bit like black magic to me, so I am wondering what the current best practises are for handling this situation (from specific ways to sanitise input to specific ways to encode html to display)?

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

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

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.