asp.net 中的认证

本文详细介绍了IIS匿名认证的工作原理及其配置方法。通过两步验证流程,即IIS自身创建用户令牌及ASP.NET框架创建表单票据,实现对网站访问者的认证。此外,文章还解释了如何设置匿名账户权限,确保用户能够正常访问网站根目录。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

IIS authentication includes two steps.

The first step is by IIS itself. That's to say, when a user access the web site, window will create
the token for this user.

IIS 5.0(Windows 2000) will use ASPNET account to create the token for anonymous user;

For IIS 6.0(Windows 2003), it uses IUSR_computername account.

Usually, we set the anonymous account for the IIS, just like we set "****" for DEV environment.

The Second step is by asp.net framework. That's just like we create form ticket in our source code.

The last point that we need to pay attention to is the anonymous accuont(either aspnet/IUSR_computername/the account configed in IIS) should

has the permission to access the web site's root folder.

Here is a good article to understand this issue: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15378

Understanding anonymous authentication and the IUSR account

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值