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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -