【发布时间】:2011-08-08 15:15:43
【问题描述】:
我的公司有报告页面report.aspx。我希望只有特殊的 Windows 帐户可以使用此报告。
例如;
AA、BB、CC、DD 是我们Active Directory 中的 4 个不同的Windows Account Name。
我们希望仅对 4 个用户使用此报告。其他用户想要访问此报告页面应给出错误消息。 (如:You have no permission)
我该怎么做?
我应该在Page_Load() 中写一些代码吗?
【问题讨论】:
标签: c# .net asp.net authentication permissions