关于跨域登录中获取COOKIES解析BUG

FormsAuthentication.Decrypt   报错    Length of the data to decrypt is invalid.

关于同域名不同服务器之间的登录,加密配置说明:

https://msdn.microsoft.com/zh-cn/library/w8h3skw9.aspx

解决方法1:

<add key="aspnet:UseLegacyFormsAuthenticationTicketCompatibility" value="true" /> 

<add key="aspnet:UseLegacyEncryption" value="true" />

http://www.knowsky.com/606889.html

解决方法2:

更新安全补丁

http://stackoverflow.com/questions/7728658/asp-net-formsauthentication-length-of-the-data-to-decrypt-is-invalid

http://weblogs.asp.net/scottgu/important-asp-net-security-vulnerability

补丁列表

https://technet.microsoft.com/library/security/ms10-070

posted @ 2015-11-10 17:32  小马的酒吧  阅读(218)  评论(0编辑  收藏  举报