A(n) ________ token can be used to protect against CSRF attacks by ensuring that requests are genuine.
- Authentication
- Authorization
- CSRF
- Anti-CSRF
A "Anti-CSRF" token, also known as a CSRF token or synchronization token, is used to protect against CSRF (Cross-Site Request Forgery) attacks. It ensures that requests are genuine and originated from a trusted source.
Loading...
Related Quiz
- You can access a constant of a PHP class using the class name followed by the scope resolution operator (::) and the constant name like ClassName::CONSTANT_NAME.
- If a required field is left empty in a PHP form, the form can still be submitted.
- You are writing a PHP script and you need to collect form data, but you don't know if the data was sent using the GET or the POST method. How would you do this using the $_REQUEST superglobal?
- Which superglobal should be used in PHP to access session variables?
- To ensure session data is only transferred over secure connections, you can enable the ________ configuration directive in PHP.