Author: haiduong.vnpt | Posted on: 9/27/2009 6:53:56 PM | Views : 390

 Hi all, i'm  beginner with asp.net, i using asp.net 2.0.
When i use role to deny all user * and permit user with role "administrator"  to goto page Default in to "Admin" folder.
At Login page i use Login control of asp.net. But when i up my site to Localhost or run direct, i don't understand why if user type in URL address of page admin ( that page i deny all user not has role "Administrator") and do not need login then come to Admin folder complate.
(as user type this address in to URL address, it complate :http://localhost/Admin/Default.aspx)
my web.config has code:
 
 
 
 
 
 
 
 
 
 
<?
<!--
Note: As an alternative to hand editing this fi ...

Go to the complete details ...