- Web Penetration Testing with Kali Linux(Third Edition)
- Gilberto Najera Gutierrez Juned Ahmed Ansari
- 155字
- 2021-06-24 18:44:53
Cookie parameters
In addition to the name and value of the cookie, there are several other parameters set by the web server that defines the reach and availability of the cookie, as shown in the following response header:

The following are details of some of the parameters:
- Domain: This specifies the domain to which the cookie would be sent.
- Path: To lock down the cookie further, the Path parameter can be specified. If the domain specified is email.com and the path is set to /mail, the cookie would only be sent to the pages inside email.com/mail.
- HttpOnly: This is a parameter that is set to mitigate the risk posed by Cross-site Scripting (XSS) attacks, as JavaScript won't be able to access the cookie.
- Secure: If this is set, the cookie must only be sent over secure communication channels, namely SSL and TLS.
- Expires: The cookie will be stored until the time specified in this parameter.
推薦閱讀
- Linux設(shè)備驅(qū)動(dòng)開(kāi)發(fā)詳解:基于最新的Linux4.0內(nèi)核
- Ansible權(quán)威指南
- 無(wú)蘋(píng)果不生活 OS X Mountain Lion隨身寶典
- Mastering Distributed Tracing
- 循序漸進(jìn)學(xué)Docker
- 計(jì)算機(jī)系統(tǒng)開(kāi)發(fā)與優(yōu)化實(shí)戰(zhàn)
- 嵌入式Linux應(yīng)用開(kāi)發(fā)菜鳥(niǎo)進(jìn)階
- 突破平面3ds Max動(dòng)畫(huà)設(shè)計(jì)與制作
- OpenSolaris設(shè)備驅(qū)動(dòng)原理與開(kāi)發(fā)
- Linux設(shè)備驅(qū)動(dòng)開(kāi)發(fā)
- Linux系統(tǒng)安全:縱深防御、安全掃描與入侵檢測(cè)
- 辦公自動(dòng)化教程(Windows7+Office2010)
- 鴻蒙HarmonyOS應(yīng)用開(kāi)發(fā)入門(mén)
- UNIX傳奇:歷史與回憶
- Drupal 7 Mobile Web Development Beginner’s Guide