71

Cookie防篡改机制

 5 years ago
source link: https://juejin.im/post/5b02fe326fb9a07ab1117c82
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、为什么Cookie需要防篡改 为什么要做Cookie防篡改,一个重要原因是 Cookie中存储有判断当前登陆用户会话信息(Session)的会话票据-SessionID和一些用户信息。 当发起一个HTTP请求,HTTP请求头会带上Cookie,Cookie

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK