- 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.
- Kubernetes修煉手冊(cè)
- Social Media Mining with R
- Linux系統(tǒng)架構(gòu)與運(yùn)維實(shí)戰(zhàn)
- Windows Phone 7.5 Data Cookbook
- Windows Server 2012網(wǎng)絡(luò)操作系統(tǒng)企業(yè)應(yīng)用案例詳解
- 新編電腦辦公(Windows 10+ Office 2013版)從入門到精通
- Windows 7使用詳解(修訂版)
- Multi-Cloud for Architects
- iOS 10快速開發(fā):18天零基礎(chǔ)開發(fā)一個(gè)商業(yè)應(yīng)用
- Linux集群之美
- Linux操作系統(tǒng)案例教程(第2版)
- Python機(jī)器學(xué)習(xí)系統(tǒng)構(gòu)建(原書第3版)
- Apache ShardingSphere權(quán)威指南
- 嵌入式Linux設(shè)備驅(qū)動(dòng)程序開發(fā)指南(原書第2版)
- Modern Python Cookbook