Comprehensive understanding of cookie delivery process, programming implementation and security issues

Source: Internet
Author: User
Comprehensive understanding of cookie delivery process, programming implementation and security issues





Cookies in English is the meaning of small desserts, and the word we can always see in the browser, how food and the browser related to it? You may appear in the Web page when you visit a site that you have logged on to: Hello xx, feel very cordial, it is like eating a small dessert. This is actually done by accessing a file inside your host, so this file is also called a cookie. Want to get a full picture of cookies? Look at the following!
I. Understanding Cookie Application object: Primary Reader
Cookies are when you browse a Web site, a small text file stored on your machine that records your user ID, password, browsed pages, time of stay, etc. when you come to the site again, the site can make the appropriate moves by reading cookies and learning about your information. If the page shows you welcome the slogan, or let you do not enter the ID, password directly login and so on. You can select "Set/View Files" on the "general" tab of IE's tools/internet option, and view all cookies saved to your computer. These files are usually named in the user@domain format, user is your local username, domain is the name of the site visited. If you use Netscape browser, it is stored in "c:programfilesnetscapeusers", unlike IE, Netscape uses a cookie file to record cookies for all websites.
  
In order to ensure the security of the Internet we need to set the cookie properly. Open the Privacy tab in Tools/internet options (Note that this setting only exists in IE6.0, other versions of IE can be easily adjusted by clicking the Custom Level button in the Security tab of the Tools/internet options) to adjust the security level of the cookie. In general, you can adjust the slider to a high or high position. Most forum sites need to use cookie information, and if you never go to these places, you can tune the security level to "block all cookies." If you are only trying to disable cookies for individual sites, you can click the Edit button to add the Web site you want to block to the list. In the Advanced button option, you can set the first party cookie and the third party cookie, the first party cookie is the cookie of the website you are browsing, and the third party cookie is not sent to you by the Web site you are browsing, usually to the third party cookie Select " Reject ", as shown in Figure 1. If you need to save cookies, you can use IE's "Import export" function, open the "File/Import Export", follow the prompts to operate.
Most of the content in the cookie is encrypted, so it seems to us to be just a bunch of meaningless alphanumeric combinations, and only the server's CGI handlers know what they really mean. With some software we can view more content and use cookie Pal software to look up cookie information, as shown in Figure 2. It provides us with the contents of options such as server, Expires, Name, value, and so on. Where the server is a Web site where cookies are stored, expires records the time and life of the cookie, and the name and value fields are specific data (the 10th edition of this newspaper has a detailed description of the software).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.