Ask a Question related to ASP.NET Security, Design and Development.
-
Devin #1
Custumizing Pages based on security status
I am trying to create pages that are viewable without a login, but if a person does login I want certian pages to display customized content. For example, I have a calendar page that loads up to anyone. But on the same page I want to restrict showing the hyperlink to "Adding a calendar Event" to someone who logs in with that permission. How can I do this because the login examples i have found through form based authentication require that the whole page is either shown or not show. Is this correct or am I wrong
Thanks in advance
Devin
Devin Guest
-
Forms based security
Hi there, In forms based security do I have to arrange pages into subdirectories in order to secure them? I want the public to access my home page... -
Do I need Role Based Security
Corinna, In your example i'd say its not necessary to use role-based security. Since there's only 1 level of membership as you say then all I... -
Reg Role BAsed security..
Hi All.. Can any body detail out the basic diff/advatages/disadvantage over acheiving the role based security and the same thing in case of... -
One field, two values based on status(currenttime)
Originally posted by John M Canino Portland, OR -- Posted via http://dbforums.com -
Re: Custumizing Pages based on security status
If (IsAuthenticated==true )
{
CustomerUserControl.Visible = true;
}e
else
{ CustomerUserControl.Visible = false; }
You could expound upon this so that users have different roles and thus have
access to different content
Hope this helps - Posting is provided as is
"Devin" <anonymous@discussions.microsoft.com> wrote in message
news:75D23F65-69E1-4B95-88D3-AB4A61333B10@microsoft.com...>I am trying to create pages that are viewable without a login, but if a
>person does login I want certian pages to display customized content. For
>example, I have a calendar page that loads up to anyone. But on the same
>page I want to restrict showing the hyperlink to "Adding a calendar Event"
>to someone who logs in with that permission. How can I do this because the
>login examples i have found through form based authentication require that
>the whole page is either shown or not show. Is this correct or am I wrong?
>
> Thanks in advance.
>
> Devin
Guest



Reply With Quote

