Which of the following is a method for securing web applications against Cross-Site Request Forgery (CSRF)?
A. Input validation
B. Output encoding
C. Using HTTPS
D. Using anti-CSRF tokens
Answer: Option D
Solution (By JKSSB Mock Tests)
Anti-CSRF tokens are a common defense, where a unique token is included in forms and validated on the server to ensure the request originates from the legitimate user.
Explanation:
DNS functions as a distributed directory database system that translates alphanumeric domain identities into actionable network routing IP numbers.
Explanation:
The defer attribute tells the browser to continue parsing the HTML while the script downloads, and execute it after the document is parsed, in order.
No comments yet. Be the first to start the discussion!