In the context of XSS, what is the purpose of Content Security Policy (CSP)?
- Control access to databases
- Encrypt sensitive data
- Restrict the sources of content that can be loaded
- Validate form inputs
Content Security Policy (CSP) is a security standard that helps prevent XSS attacks by allowing website owners to specify the trusted sources of content. It restricts the execution of scripts to trusted domains, reducing the risk of malicious script injection.
Loading...
Related Quiz
- In OAuth, what security considerations must be taken into account when implementing implicit grant flow?
- What is the default behavior of transactions in CodeIgniter regarding auto-commit?
- In terms of security, why is relying solely on client-side validation not advisable?
- To secure email transmissions, applications often use ________ over SMTP.
- For complex schema management, CodeIgniter's ________ utility is essential for keeping database structures in sync.