【发布时间】:2014-01-20 10:40:00
【问题描述】:
我想简要了解一下授权过滤器和 FormAuthentication.SetAuthCookie 是如何在后台工作的。这是我在阅读了一些有关该语言的书籍后唯一觉得模棱两可的地方。
我不明白授权过滤器如何知道在哪里查找。那么 FormsAuthenticationTicket VS FormAuthentication 呢? cookie 是最安全的方式吗?我的意思是我确信可以从浏览器中导出 cookie 并在其他地方使用它......?
【问题讨论】:
标签: asp.net-mvc forms-authentication authorize