Django Book 翻译
菜单>:
TOC
返回
原文:
So you cant store data in cookies that might be sensitive to tampering. The canonical mistake in this scenario is storing something like ``IsLoggedIn=1`` in a cookie when a user logs in. Youd be amazed at the number of sites that make mistakes of this nature; it takes only a second to fool these sites security systems.
翻译:
因此不能在cookies中存储可能会被篡改的敏感数据,“经典”错误是:在cookies中存储 ``IsLoggedIn=1`` ,以标识用户已经登录。犯这类错误的站点数量多的令人难以置信; 绕过这些网站的安全系统也是易如反掌。
备注:
译者: