AngularJS Developer Question:
Download Job Interview Questions and Answers PDF
Explain what Are The Security Features Provided By AngularJS?
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.
☛ 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 Interview Questions And Answers
PDF