thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Application & OT Security · Foundational

Secure Cookie Attribute

A cookie flag that instructs browsers to send the cookie only over HTTPS connections.

Definition

The Secure attribute prevents cookies, especially session tokens, from being exposed over cleartext HTTP. It should be used with HSTS to prevent downgrade scenarios.

Example

Set-Cookie: auth=xyz; Secure; HttpOnly

Exam tip

Know each cookie flag's purpose; Secure is about transport, not script access.

Related terms