model
stringclasses
3 values
id
stringlengths
16
16
split
stringclasses
1 value
passage
stringclasses
25 values
condition
stringclasses
2 values
question
stringlengths
38
98
answer
stringlengths
30
249
prompt
stringlengths
87
2.54k
retrieved
listlengths
0
2
cybermodels-web-defense
05d9f4fc36806f91
train
set-cookie
closed
Which session cookie attribute blocks document.cookie from reading its value?
Set HttpOnly. The browser can still send that cookie on eligible requests.
Answer the Web application defense question concisely. Question: Which session cookie attribute blocks document.cookie from reading its value?
[]
cybermodels-web-defense
05d9f4fc36806f91
train
set-cookie
rag
Which session cookie attribute blocks document.cookie from reading its value?
Set HttpOnly. The browser can still send that cookie on eligible requests. [Set-Cookie session cookie attributes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Set-Cookie session cookie attributes Further reading:...
[ "set-cookie" ]
cybermodels-web-defense
fcc185bc9f8ae01c
train
set-cookie
closed
What other attribute is required on a SameSite=None cookie?
Set Secure alongside SameSite=None.
Answer the Web application defense question concisely. Question: What other attribute is required on a SameSite=None cookie?
[]
cybermodels-web-defense
fcc185bc9f8ae01c
train
set-cookie
rag
What other attribute is required on a SameSite=None cookie?
Set Secure alongside SameSite=None. [Set-Cookie session cookie attributes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Set-Cookie session cookie attributes Further reading:...
[ "set-cookie", "frame-ancestors" ]
cybermodels-web-defense
9b190462e516a02d
train
set-cookie
closed
How should I scope a session cookie to the issuing host alone?
Omit Domain to create a host-only cookie.
Answer the Web application defense question concisely. Question: How should I scope a session cookie to the issuing host alone?
[]
cybermodels-web-defense
9b190462e516a02d
train
set-cookie
rag
How should I scope a session cookie to the issuing host alone?
Omit Domain to create a host-only cookie. [Set-Cookie session cookie attributes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Set-Cookie session cookie attributes Further reading:...
[ "set-cookie" ]
cybermodels-web-defense
45bd52c2f2c6025f
train
hsts
closed
Can my browser learn HSTS from the site's plain HTTP redirect?
Send Strict-Transport-Security on the HTTPS response. Browsers ignore it over plain HTTP.
Answer the Web application defense question concisely. Question: Can my browser learn HSTS from the site's plain HTTP redirect?
[]
cybermodels-web-defense
45bd52c2f2c6025f
train
hsts
rag
Can my browser learn HSTS from the site's plain HTTP redirect?
Send Strict-Transport-Security on the HTTPS response. Browsers ignore it over plain HTTP. [Strict-Transport-Security and HTTPS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Strict-Transport-Security and HTTPS Further reading: ...
[ "hsts", "set-cookie" ]
cybermodels-web-defense
d7360c33c27e539e
train
hsts
closed
What should we confirm before enabling HSTS includeSubDomains?
Confirm that all affected subdomains support HTTPS for the duration of the policy.
Answer the Web application defense question concisely. Question: What should we confirm before enabling HSTS includeSubDomains?
[]
cybermodels-web-defense
d7360c33c27e539e
train
hsts
rag
What should we confirm before enabling HSTS includeSubDomains?
Confirm that all affected subdomains support HTTPS for the duration of the policy. [Strict-Transport-Security and HTTPS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Strict-Transport-Security and HTTPS Further reading: ...
[ "hsts", "cache-control" ]
cybermodels-web-defense
84eab7041f0b5643
train
hsts
closed
What determines how long a browser remembers an HSTS policy?
The max-age directive sets the policy lifetime in seconds.
Answer the Web application defense question concisely. Question: What determines how long a browser remembers an HSTS policy?
[]
cybermodels-web-defense
84eab7041f0b5643
train
hsts
rag
What determines how long a browser remembers an HSTS policy?
The max-age directive sets the policy lifetime in seconds. [Strict-Transport-Security and HTTPS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Strict-Transport-Security and HTTPS Further reading: ...
[ "hsts", "referrer-policy" ]
cybermodels-web-defense
2df3c4cbd672f6d0
train
frame-ancestors
closed
What HTTP policy stops any parent from framing my page?
Send Content-Security-Policy with frame-ancestors 'none' on the response.
Answer the Web application defense question concisely. Question: What HTTP policy stops any parent from framing my page?
[]
cybermodels-web-defense
2df3c4cbd672f6d0
train
frame-ancestors
rag
What HTTP policy stops any parent from framing my page?
Send Content-Security-Policy with frame-ancestors 'none' on the response. [Content-Security-Policy frame-ancestors](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-ancestors)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Content-Security-Policy frame-ancestors Further readi...
[ "frame-ancestors", "hsts" ]
cybermodels-web-defense
6576d7968380d019
train
frame-ancestors
closed
Does default-src 'none' automatically set frame-ancestors?
No. Specify frame-ancestors explicitly.
Answer the Web application defense question concisely. Question: Does default-src 'none' automatically set frame-ancestors?
[]
cybermodels-web-defense
6576d7968380d019
train
frame-ancestors
rag
Does default-src 'none' automatically set frame-ancestors?
No. Specify frame-ancestors explicitly. [Content-Security-Policy frame-ancestors](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-ancestors)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Content-Security-Policy frame-ancestors Further readi...
[ "frame-ancestors", "set-cookie" ]
cybermodels-web-defense
b69192a2803f0aee
train
frame-ancestors
closed
Should the page restrict who can embed it with frame-src or frame-ancestors?
Use frame-ancestors for parents that embed the page. frame-src controls frames loaded by the page.
Answer the Web application defense question concisely. Question: Should the page restrict who can embed it with frame-src or frame-ancestors?
[]
cybermodels-web-defense
b69192a2803f0aee
train
frame-ancestors
rag
Should the page restrict who can embed it with frame-src or frame-ancestors?
Use frame-ancestors for parents that embed the page. frame-src controls frames loaded by the page. [Content-Security-Policy frame-ancestors](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-ancestors)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Content-Security-Policy frame-ancestors Further readi...
[ "frame-ancestors", "set-cookie" ]
cybermodels-web-defense
c082f5f794612660
train
referrer-policy
closed
How do I omit the Referer header on outbound requests?
Send Referrer-Policy: no-referrer.
Answer the Web application defense question concisely. Question: How do I omit the Referer header on outbound requests?
[]
cybermodels-web-defense
c082f5f794612660
train
referrer-policy
rag
How do I omit the Referer header on outbound requests?
Send Referrer-Policy: no-referrer. [Referrer-Policy on outbound requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Referrer-Policy on outbound requests Further reading:...
[ "referrer-policy", "set-cookie" ]
cybermodels-web-defense
b45c2fda4c92bf53
train
referrer-policy
closed
With strict-origin-when-cross-origin, what reaches another HTTPS origin?
Only the origin is sent as the referrer.
Answer the Web application defense question concisely. Question: With strict-origin-when-cross-origin, what reaches another HTTPS origin?
[]
cybermodels-web-defense
b45c2fda4c92bf53
train
referrer-policy
rag
With strict-origin-when-cross-origin, what reaches another HTTPS origin?
Only the origin is sent as the referrer. [Referrer-Policy on outbound requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Referrer-Policy on outbound requests Further reading:...
[ "referrer-policy", "hsts" ]
cybermodels-web-defense
8bcfad68db2cc41e
train
referrer-policy
closed
With strict-origin-when-cross-origin, does an HTTPS page send a referrer on a downgrade to HTTP?
No. A downgrade from HTTPS to HTTP omits the referrer.
Answer the Web application defense question concisely. Question: With strict-origin-when-cross-origin, does an HTTPS page send a referrer on a downgrade to HTTP?
[]
cybermodels-web-defense
8bcfad68db2cc41e
train
referrer-policy
rag
With strict-origin-when-cross-origin, does an HTTPS page send a referrer on a downgrade to HTTP?
No. A downgrade from HTTPS to HTTP omits the referrer. [Referrer-Policy on outbound requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. Referrer-Policy on outbound requests Further reading:...
[ "referrer-policy", "frame-ancestors" ]
cybermodels-web-defense
0c3231f5f52ee34f
train
nosniff
closed
A stylesheet stopped loading with nosniff. Which response metadata should we check?
Check Content-Type on the actual asset response. A stylesheet must be served as text/css.
Answer the Web application defense question concisely. Question: A stylesheet stopped loading with nosniff. Which response metadata should we check?
[]
cybermodels-web-defense
0c3231f5f52ee34f
train
nosniff
rag
A stylesheet stopped loading with nosniff. Which response metadata should we check?
Check Content-Type on the actual asset response. A stylesheet must be served as text/css. [X-Content-Type-Options nosniff and MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. X-Content-Type-Options nosniff and MIME types Further...
[ "nosniff", "frame-ancestors" ]
cybermodels-web-defense
573a2bb0dd1e0226
train
nosniff
closed
Can nosniff compensate for omitting the correct MIME type on JavaScript?
Provide an appropriate JavaScript MIME type. nosniff enforces the declared type for script requests.
Answer the Web application defense question concisely. Question: Can nosniff compensate for omitting the correct MIME type on JavaScript?
[]
cybermodels-web-defense
573a2bb0dd1e0226
train
nosniff
rag
Can nosniff compensate for omitting the correct MIME type on JavaScript?
Provide an appropriate JavaScript MIME type. nosniff enforces the declared type for script requests. [X-Content-Type-Options nosniff and MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. X-Content-Type-Options nosniff and MIME types Further...
[ "nosniff", "referrer-policy" ]
cybermodels-web-defense
e3c1a6010d9bc875
train
nosniff
closed
Can documentation establish the Content-Type our CDN sent yesterday?
Check the captured response or CDN records. Documentation alone cannot establish what that deployment served.
Answer the Web application defense question concisely. Question: Can documentation establish the Content-Type our CDN sent yesterday?
[]
cybermodels-web-defense
e3c1a6010d9bc875
train
nosniff
rag
Can documentation establish the Content-Type our CDN sent yesterday?
Check the captured response or CDN records. Documentation alone cannot establish what that deployment served. [X-Content-Type-Options nosniff and MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options)
Answer the Web application defense question concisely. Use relevant information below and link the supporting reference. These summaries are paraphrases by Hyperion Gray. Use your own words. If the notes do not establish the answer, say what information is missing. X-Content-Type-Options nosniff and MIME types Further...
[ "nosniff", "hsts" ]