0

I have application which uses angular js on client side and makes ajax call to rest web service written in java.I want to apply xss check. Can some one please suggest where it should be applied on angular js or rest web service side?and which library should be used?

1 Answer 1

1

As per Angular -

To systematically block XSS bugs, Angular treats all values as untrusted by default. When a value is inserted into the DOM from a template, via property, attribute, style, class binding, or interpolation, Angular sanitizes and escapes untrusted values.

Please check on Angular's security page for more detailed sanitization example.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.