Question CN-APP-0070
HardWhat does the Set-Cookie attribute HttpOnly do?
- A.
Sends the cookie only over HTTP
- B.
Makes the cookie public
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Application Layer (HTTP, DNS, SMTP) question
What does the Set-Cookie attribute HttpOnly do?
Sends the cookie only over HTTP
Makes the cookie public
Sign up free to see the answer and a step-by-step explanation.
Prevents JavaScript from reading the cookie, reducing the damage of XSS
Deletes the cookie