📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

The Secure flag on a cookie ensures that the cookie is:

A. Sent to all websites
B. Never stored
C. Sent only over HTTPS ✅
D. Encrypted with a password

Correct Answer: C. Sent only over HTTPS

Explanation

The Secure flag stops the browser sending the cookie over unencrypted HTTP, where it could be sniffed.