Which HTTP response header can help prevent XSS attacks when set correctly?
- Accept-Language
- Access-Control-Allow-Origin
- Cache-Control
- Content-Security-Policy
The Content-Security-Policy (CSP) header can help prevent XSS attacks by controlling which resources are allowed to be loaded.
Loading...
Related Quiz
- The standard port number for HTTP is ____, while for HTTPS it is ____.
- What is the main goal of implementing Service-Oriented Architecture (SOA) in a business?
- For a web service that needs to ensure backward compatibility with older systems, which data format is more appropriate?
- _______ in API Gateways can transform incoming requests before routing them to appropriate services.
- What is a Web Service primarily used for in application development?