Wednesday, September 6, 2017

How AngularJS handle the security?

AngularJS provide following built-in protection from basic security holes:

1. Prevent HTML injection attacks.

2. Prevent Cross-Site-Scripting (CSS) attacks.

3. Prevent XSRF protection for server side communication.

Also, AngularJS is designed to be compatible with other security measures like Content Security Policy (CSP), HTTPS (SSL/TLS) and server-side authentication and authorization that greatly reduce the possible attacks.

No comments:

Post a Comment

What is restrict option in directive?

The restrict option in angular directive, is used to specify how a directive will be invoked in your angular app i.e. as an attribute, class...