关于asp.net中的安全性 [英] about security in asp.net
本文介绍了关于asp.net中的安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
步骤1:
我打开了计算机管理并添加了一个新组.
我将其命名为"MyGroup",并以用户身份命名.
step2
我创建了一个简单的/虚拟的asp.net应用程序.
在web.config中,在身份验证下,我选择了"windows"和
在授权下,我写了声明
允许角色="machinename.MyGroup"
但是,无法成功查看默认页面,并收到一条错误消息,指出访问被拒绝.
我哪里出问题了?
问候,
Netquestions
Hi,
step1:
I opened computer management and added a new group.
I named it "MyGroup" and myself as a user.
step2
I created a simple / dummy asp.net application.
In the web.config, under authentication i selected ''windows'' and
under authorization, i wrote the statement
allow roles = "machinename.MyGroup"
However, failed to successfully view the default page and got an error message which states access denied.
Where did i go wrong?
Regards,
Netquestions
推荐答案
希望此[^] 将为您提供帮助.
这篇关于关于asp.net中的安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文