PEGACPLSA23V1 practice question 1 of 15

[Security Design] An application has a web page where users can upload and view images. The application uses a Content Security Policy (CSP) to…

Choose your answer, then check it against the explanation.

[Security Design] An application has a web page where users can upload and view images. The application uses a Content Security Policy (CSP) to prevent cross-site scripting attacks by restricting the sources of scripts and images that the browser can load. The CSP has the following directives: default-src 'self'; script-src 'self'https://cdn.example.com; img-src 'self' data: blob:. What happens if a user tries to upload and view an image fromhttps://malicious.comon the web page?
Answer options
Question 1 of 15

Keep practicing

Take the free PEGACPLSA23V1 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other PEGACPLSA23V1 practice questions

Scroll to Top