- Web Penetration Testing with Kali Linux(Third Edition)
- Gilberto Najera Gutierrez Juned Ahmed Ansari
- 196字
- 2021-06-24 18:44:53
Persistent and nonpersistent cookies
Cookies are divided into two main categories. Persistent cookies are stored on the client device's internal storage as text files. Since the cookie is stored on the hard drive, it would survive a browser crash or persist through various sessions. Different browsers will store persistent cookies differently. Internet Explorer, for example, saves cookies in text files inside the user's folder, AppData\Roaming\Microsoft\Windows\Cookie, while Google Chrome uses a SQLite3 database also stored in the user's folder, AppData\Local\Google\Chrome\User Data\Default\cookies. A cookie, as mentioned previously, can be used to pass sensitive information in the form of session ID, preferences, and shopping data among other types. If it's stored on the hard drive, it cannot be protected from modification by a malicious user.
To solve the security issues faced by persistent cookies, programmers came up with another kind of cookie that is used more often today, known as a nonpersistent cookie, which is stored in the memory of the web browser, leaves no traces on the hard drive, and is passed between the web browser and server via the request and response header. A nonpersistent cookie is only valid for a predefined time specified by the server.
- 每天5分鐘玩轉Kubernetes
- 零起點學Linux系統管理
- UNIX操作系統設計
- Kubernetes網絡權威指南:基礎、原理與實踐
- 嵌入式Linux驅動程序和系統開發實例精講
- Alfresco 4 Enterprise Content Management Implementation
- RESS Essentials
- 細說Linux基礎知識
- AWS Development Essentials
- Linux基礎使用與案例
- CentOS 6 Linux Server Cookbook
- 從實踐中學習Windows滲透測試
- iOS 10 開發指南
- Java EE 7 Developer Handbook
- Linux系統管理初學者指南:基于CentOS 7.6