{"reader":"the saved page's own text as drawn by the browser, each line checked for ink on this picture (no OCR guesswork); lines marked \"read\" were read by eye on the picture where the page text list cannot reach","reading_order":[{"area":"address strip","text":"URSY.com saved copy  ·  read 2026-12-01"},{"area":"address strip","text":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies","boxed_in_red":true},{"area":"page","text":"catastrophic. A criminal could for example steal a session ID and use it to set a cookie that","box":[288,81,926,98]},{"area":"page","text":"makes it look like they are logged in as someone else, taking control of their bank or e-commerce","box":[288,109,975,126]},{"area":"page","text":"account in the process.","box":[288,137,453,154]},{"area":"page","text":"You can secure your cookies in a variety of ways, which are reviewed in this section.","box":[288,181,884,198]},{"area":"page","text":"Block access to your cookies","box":[288,221,596,248]},{"area":"page","text":"You can ensure that cookies are sent securely and aren't accessed by unintended parties or","box":[288,271,938,288]},{"area":"page","text":"Secure","box":[543,298,596,317]},{"area":"page","text":"HttpOnly","box":[728,298,798,317]},{"area":"page","text":"scripts in one of two ways: with the","box":[288,299,534,316]},{"area":"page","text":"attribute and the","box":[604,299,720,316]},{"area":"page","text":"attribute:","box":[807,299,869,316]},{"area":"page","text":"Set-Cookie: id=a3fWa; Expires=Thu, 21 Oct 2021 07:28:00 GMT; Secure; HttpOnly","read":"by eye on the picture (Claude, 2 Dec 2026): text inside an embedded picture, video frame or code panel that the page text list does not reach (monospace code line under the 'http Copy' label, upper middle)","box":[288,387,966,404]},{"area":"page","text":"Secure","box":[457,430,509,449]},{"area":"page","text":"A cookie with the","box":[328,431,448,448]},{"area":"page","text":"attribute is only sent to the server with an encrypted request over","box":[518,431,977,448]},{"area":"page","text":"the HTTPS protocol. It's never sent with unsecured HTTP (except on localhost, although","box":[328,459,952,476],"boxed":true},{"area":"page","text":"this exception is not supported by Safari), which means","box":[328,487,719,504]},{"area":"page","text":"manipulator in the middle (MITM)","box":[724,487,959,504]},{"area":"page","text":"http:","box":[696,514,740,533]},{"area":"page","text":"attackers can't access it easily. Insecure sites (with","box":[328,515,687,532]},{"area":"page","text":"in the URL) can't set cookies","box":[748,515,951,532]},{"area":"page","text":"Secure","box":[392,542,444,561]},{"area":"page","text":"Secure","box":[725,542,778,561]},{"area":"page","text":"with the","box":[328,543,383,560]},{"area":"page","text":"attribute. However, don't assume that","box":[453,543,716,560]},{"area":"page","text":"prevents all access to","box":[786,543,940,560]},{"area":"page","text":"sensitive information in cookies. For example, someone with access to the client's hard disk","box":[328,571,976,588]},{"area":"page","text":"HttpOnly","box":[474,598,545,617]},{"area":"page","text":"(or JavaScript if the","box":[328,599,466,616]},{"area":"page","text":"attribute isn't set) can read and modify the information.","box":[553,599,939,616]},{"area":"page","text":"HttpOnly","box":[457,642,527,661]},{"area":"page","text":"A cookie with the","box":[328,643,448,660]},{"area":"page","text":"attribute can't be accessed by JavaScript, for example using","box":[535,643,961,660]},{"area":"page","text":"Document.cookie","box":[332,670,464,689]},{"area":"page","text":"; it can only be accessed when it reaches the server. Cookies that","box":[468,671,932,688]},{"area":"page","text":"HttpOnly","box":[691,698,762,717]},{"area":"page","text":"persist user sessions for example should have the","box":[328,699,683,716]},{"area":"page","text":"attribute set — it would be","box":[770,699,955,716]},{"area":"page","text":"really insecure to make them available to JavaScript. This precaution helps mitigate cross-site","box":[328,727,966,772]},{"area":"page","text":"scripting (","box":[357,755,427,772]},{"area":"page","text":"XSS","box":[427,755,459,772]},{"area":"page","text":") attacks.","box":[459,755,524,772]},{"area":"page","text":"Note:","box":[338,816,379,833]},{"area":"page","text":"Depending on the application, you may want to use an opaque identifier that the","box":[383,816,949,833]},{"area":"page","text":"server looks up rather than storing sensitive information directly in cookies, or","box":[338,844,885,861]},{"area":"page","text":"investigate alternative authentication/confidentiality mechanisms such as","box":[338,872,852,889]},{"area":"page","text":"JSON Web","box":[857,872,936,889]},{"area":"page","text":"Tokens","box":[338,900,389,917]},{"area":"page","text":".","box":[407,900,411,917]},{"area":"page","text":"Define where cookies are sent","box":[288,957,611,984]},{"area":"label","text":"Website problem · Security and HTTPS · official source: MDN"},{"area":"label","text":"Cookies are sent without the Secure flag"},{"area":"label","text":"Source and record: ursy.com/truth-spine/I-0121/"},{"area":"label badge","text":"URSY.com"},{"area":"label badge","text":"TRUTH SPINE"},{"area":"label badge","text":"FACT RECORD I-0121"},{"area":"label","text":"Every fact on URSY.com is recorded with its source in the URSY.com Truth Spine. Explore them all at ursy.com/truth-spine"}],"not_read":"Lines hidden on the page (for example icon names the saved copy cannot draw) are left out."}
