How Angular Protects Us From XSS Attacks? - PowerPoint PPT Presentation

About This Presentation
Title:

How Angular Protects Us From XSS Attacks?

Description:

XSS (Cross-Site Scripting) is one of the assaults that can influence your site. So as to adapt to the attack, Angular executes ideas that shield the developers from committing errors and opens a window to a security rupture. – PowerPoint PPT presentation

Number of Views:67
Slides: 8
Provided by: kathreen

less

Transcript and Presenter's Notes

Title: How Angular Protects Us From XSS Attacks?


1
(No Transcript)
2
How Angular Protects Us From XSS Attacks?
  • XSS (Cross-Site Scripting) is one of the assaults
    that can influence your site. So as to adapt to
    the attack, Angular executes ideas that shield
    the developers from committing errors and opens a
    window to a security rupture.
  • So as to adapt to the attack, Angular executes
    ideas that shield the developers from committing
    errors and opens a window to a security rupture.
    Hereby this slides, we will comprehend what an
    XSS attack is, the way this assault can be made
    in an Angular application.

3
XSS (Cross-Site Scripting) Attack - Means
  • XSS is one kind of infusion, during which
    malicious scripts are injected into otherwise
    benign and trusty internet sites. XSS assaults
    happen when an attacker utilizes a web
    application to send a malevolent code.

4
How will XSS be done with an associate Angular
application?
  • There are some approaches to do assault in an
    Angular application
  • HTML when interpreting a value as HTML
  • ltdiv innerHTMLvaluegtlt/divgt
  • Style when binding CSS
  • ltdiv stylevaluegtlt/divgt
  • URL when using URL properties
  • lta hrefvaluegtlt/agt or ltscript
    srcvaluegtlt/scriptgt

5
How Angular averts this attack?
  • To square XSS assaults, we should keep noxious
    code from entering the DOM. Once a value is
    inserted into the DOM from a templet, via
    property, attribute, style, category binding, or
    interpolation, Angular sanitizes and escapes
    untrusted values.

6
DOM sanitizer
  • XSS assaults are regular in web programs. In
    those attacks, the casualty is the user and not
    the application. Generally, malicious esteems
    originate from HTML, CSS or URL.
  • With Angular, you are naturally in a protected
    place. This can be done by the DOM sanitizer that
    sanitizes the untrusted esteem. You can handicap
    this Angular security. When you decide to do it,
    pay attention to the dangers and do it carefully
    and wisely.

7
The best firm to get AngularJS Solutions
  • In the recent years, AngularJS is more
    advantageous as it pursues the MVC design. So
    feel free to contact Agriya's developers to build
    your applications. As a well-known AngularJS
    development company Agriya, which effectively
    offers the best AngularJS development services to
    the globe.
Write a Comment
User Comments (0)
About PowerShow.com