如何设置单个页面的访问权限?
我做了个系统,在webconfig中作了用户权限认证:
<authentication mode="Forms">
<forms loginUrl="login.aspx" name="HTCookies" protection="All"></forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
但是,我的登陆页面中有一幅背景图片,就是还没有登陆之前,就显示不出来,有什么办法呢?我想到的就是把这个login.aspx页面设置成为所有人都可以看见的页面,那样就可以显示我要的背景图片了!HOHO~~ 但是怎么为单个页面设置访问权限呢?
请大虾帮忙解决,谢谢!