- 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.
推薦閱讀
- Modern Web Testing with TestCafe
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- PLC控制系統應用與維護
- Ganglia系統監控
- Windows Server 2012 Hyper-V Cookbook
- 構建可擴展分布式系統:方法與實踐
- Windows Phone應用程序開發
- 8051軟核處理器設計實戰
- Delphi Programming Projects
- Linux服務器配置與管理
- 分布式系統設計實踐
- Building Telephony Systems With Asterisk
- Windows Vista終極技巧金典
- OpenVZ Essentials
- Linux從入門到精通(視頻教學版)