Protection SWA

Dyt13 211 Reputation points
2022-09-29T19:45:55.147+00:00

Hi,
I’ve developed an azure swa in which I store some data in localStorage. I’d like to protect it against XSS attack and others. What would be the best service to use in front of my web app ?
Thanks

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
858 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,180 questions
0 comments No comments
{count} votes

Accepted answer
  1. Priya Kumar 1,096 Reputation points Microsoft Employee
    2022-09-30T04:24:57.69+00:00

    Hello @Dyt13

    Thanks for reaching Q&A platform.

    Azure WAF protects against the XSS attacks. The following documents explain about the protection:

    https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-crs-rulegroups-rules?tabs=owasp32#owasp-crs-32

    Now, the WAF could be integrated with two services:

    Azure Application Gateway with WAF: https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
    Azure Frontdoor with WAF: https://learn.microsoft.com/en-us/azure/web-application-firewall/afds/afds-overview?source=recommendations

    Now Azure Application Gateway is a regional service, and Frontdoor is a Global Service. You must investigate the Web App should be placed behind which service based on the application nature and the requirement, the below document help you choose the service:

    https://learn.microsoft.com/en-us/azure/architecture/guide/technology-choices/load-balancing-overview

    Hope this answer helps.

    Regards,
    Priya Kumar

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.