- 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.
推薦閱讀
- Windows Server 2019 Cookbook
- Mastering ElasticSearch
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Windows Vista基礎(chǔ)與應(yīng)用精品教程
- 鴻蒙生態(tài):開啟萬物互聯(lián)的智慧新時代
- Installing and Configuring Windows 10:70-698 Exam Guide
- Linux集群和自動化運維
- Linux操作系統(tǒng)應(yīng)用編程
- Moodle 3.x Teaching Techniques(Third Edition)
- 完美應(yīng)用RHEL 8
- Linux內(nèi)核設(shè)計的藝術(shù):圖解Linux操作系統(tǒng)架構(gòu)設(shè)計與實現(xiàn)原理
- jQuery UI Cookbook
- RHCSARHCE 紅帽Linux認(rèn)證學(xué)習(xí)指南(第7版)EX200 & EX300
- Django Project Blueprints
- Heroku Cloud Application Development