Google Professional Cloud Security Engineer Exam - Topic 4 Question 6 Discussion
You are on your company's development team. You noticed that your web application hosted in staging on GKE dynamically includes user data in web pages without first properly validating the inputted data. This could allow an attacker to execute gibberish commands and display arbitrary content in a victim user's browser in a production environment.How should you prevent and fix this vulnerability?
D) Use Web Security Scanner in staging to simulate an XSS injection attack, and then use a templating system that supports contextual auto-escaping.
A) Use Cloud IAP based on IP address or end-user device attributes to prevent and fix the vulnerability.
B) Set up an HTTPS load balancer, and then use Cloud Armor for the production environment to prevent the potential XSS attack.
C) Use Web Security Scanner to validate the usage of an outdated library in the code, and then use a secured version of the included library.
Lino
7 months agoVince
7 months agoSanjuana
8 months agoSylvie
8 months agoDorian
8 months agoLouann
8 months agoMi
8 months agoRebbeca
8 months agoSerina
8 months agoToi
8 months agoPrecious
8 months agoAudry
8 months agoEric
8 months ago