why not add them to a role programmatically upon registration?
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
That is not good to us:
After a user (a Junior) registered in my website, he/she should be
able to access all pages, except pages for Senior members, right away.
He/she can not wait for us to manually add them into a role, because
we may not check new member for days.
<configuration>
<system.web>
<authorization>
<deny users="*"/>
<allow roles="Admins"/>
</authorization>
</system.web>
</configuration>
this requires me "manually" add each new registered members into a
predefined role, say "Junior", "Senior", right?
"Dominick Baier [DevelopMentor]" wrote:
Hello Andrew,
have a look at the <authorization> element in web.config.
I implemented Forms Authentication in my asp.net app, it worked
fine. However, now I have another problem:
Although a user can be authenticated, but he/she may still not be
allowed to view certain pages and folders. For exampl, a junior
member can not view pages for senior memebers, although he/she can
log into the web site. What is the best approach to do this?
Re: What is the best approach? ...Dominick Baier - DevelopMentor... this requires me "manually" add each new registered members into a predefined role, say "Junior", "Senior", right? ... (microsoft.public.dotnet.framework.aspnet.security)
Re: What is the best approach? ...Dominick Baier - DevelopMentor... this requires me "manually" add each new registered members into a predefined role, say "Junior", "Senior", right? ... (microsoft.public.dotnet.framework.aspnet.security)
Re: Global Security Group members disappear ... have two DCs and when the members disappear from one DC they disappear from ...Security Enabled Global Group Member Removed:...Target Account Name: Students ... Caller User Name: SENIOR$... (microsoft.public.windows.server.active_directory)
Re: driving ban question ... >> senior IAM members who are members of this newsgroup would be proud ... I wasn't aware that any "more senior" IAM ... > members _are_ members of this newsgroup.... (uk.rec.driving)