AngularJS Developer Question:

Explain what Are The Security Features Provided By AngularJS?

Tweet Share WhatsApp

Answer:

AngularJS provides built-in protection from the following security flaws.

☛ It prevents cross-side scripting attacks: Cross-site scripting is a technique where anyone can send a request from client side and can get the confidential information easily.
☛ It prevents HTML injection attacks.
☛ It prevents XSRF protection for server side communication: It can be handled by “Auth token” mechanism. When the user logins for the first time a user id and password is sent to the server and it will, in turn, return an auth token. Now, this token does the authentication in the future transactions.

Download AngularJS Developer PDF Read All 125 AngularJS Developer Questions
Previous QuestionNext Question
Explain me what Are Directives? Mention Some Of The Most Commonly Used Directives In AngularJS Application?Tell me the concept of scope hierarchy? How many scope can an application have?