asp.net - Problems with web.config and site.map -
i'm having problems 1 page, i've page on web.config , site.map deny "*", if write url page still open...
like :
site.map
<sitemapnode url="" title="" roles="regrateste" description="my page"> <sitemapnode url="~/telateste.aspx" title="tela teste" description="tela de teste" roles="regrateste" deny ="*"/>
web.config
<location path="/telateste.aspx"> <system.web> <authorization> <allow roles="regrateste" /> <deny users="*" /> </authorization> </system.web> </location>
there wrong code?
this page supposedly not open if user not have role: regrateste.
thanks.
Comments
Post a Comment