Re: Custumizing Pages based on security status

johndoe_at_driver.net
Date: 04/27/04


Date: Mon, 26 Apr 2004 21:40:37 -0500

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



Relevant Pages

  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)
  • Re: [PHP] Is this the best way?
    ... Why is Jason schreefing again? ... maybe I should edit my authentication function... ... attempting to login. ... really be either attempting an authentication *or* outputting some ...
    (php.general)
  • Authentication Sharing Across Apps
    ... For my part "B" question that I had (Login App was not returning ... authentication to calling app), I found the solution. ... Basically, in both the Login App and Calling App Web.Config, I did ... authenticated connection with SQL server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [PHP] Is this the best way?
    ... Jason Pruim schreef: ... I am attempting to add a little error checking for a very simple login system. ... So maybe I should edit my authentication function... ... really be either attempting an authentication *or* outputting some message ...
    (php.general)
  • Unable to get IP Address from DHCP server - 802.1x authentication
    ... user based VLAN authentication with Windows client as ... Authentication method: MD5-Challenge ... Login locally with the cached profile of user1 ... After entering the Radius server username & password the ...
    (microsoft.public.win2000.security)