Which HTTP header is essential for mitigating CSRF attacks?
- Anti-CSRF
- CSRF-Token
- X-CSRF-Token
- X-Frame-Options
CSRF attacks can be mitigated by using a unique token associated with the user session. This token is typically sent in a custom HTTP header, such as X-CSRF-Token. It helps verify the legitimacy of the request and prevents attackers from forging requests on behalf of the user.
Loading...
Related Quiz
- In client-side validation, which language is commonly used to validate form inputs before submission?
- The ________ function in CodeIgniter's Query Builder is essential for debugging by returning the final query string.
- Which file in CodeIgniter is typically modified to include a third-party library?
- What is the best practice for managing layout and views in CodeIgniter for a large application?
- While setting up an automated email notification system, a developer encounters issues with email deliverability. The first component to check would be ________.