Security (Urgent!!!)

From: Vinod (vinod_at_erivasystems.com)
Date: 06/27/05


Date: Mon, 27 Jun 2005 21:13:10 +0530

Hi,

    I am developing a aspx login screen based on the roles (Admin,User). If
the role is Admin he needs to acess a
    particular folder in the system.

    If the role is User he needs to access another folder in the system.

    How can i accomplish it.
    Currently i am using this code but its not working fine

    <location path="alfa/admin">
        <system.web>
            <authorization>
                <allow roles ="Admin" />
                <deny users="*" />
            </authorization>
        </system.web>
    </location>

       <location path="engine">
        <system.web>
            <authorization>
                <allow roles ="Users"/>
                <deny users="*" />
            </authorization>
        </system.web>
    </location>

    In the login screen if i enter a valid login also it is not redirecting
it to a page in the admin folder . It attaches the redirection url and
stays in the same page.

    Any Help will be very grateful

    Regards
Vinod



Relevant Pages

  • Re: PF Admin tool & Administrative Rights
    ... Path in that server!! ... Actually I am testing with our lab server and the Ex admin path is ... I successfully received full information from the folder (size, ... If I add the same account as client member as owner, ...
    (microsoft.public.exchange2000.development)
  • Re: Stashing Temp Files Under Documents and SettingsAll Users?
    ... I just use the folder where the MDE resides. ... the Windows and Program Files folders) -- ... running as admin. ... install your Access front ends in user-writable storage space. ...
    (comp.databases.ms-access)
  • Re: Program requires admin rights
    ... > We have a program that requires admin rights to run correctly. ... The vendor is ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.general)
  • Re: Found it - Lost my quick launch
    ... Since the copied folder structure was incomplete, ... >>> What were the local admin tasks??? ... >>> admin login, just not for mine, it would seem to me that it would be an ... >>>> Quick Launch: Gives error message, ...
    (microsoft.public.windowsxp.general)
  • Re: PF Admin tool & Administrative Rights
    ... Actually I am testing with our lab server and the Ex admin path is ... This path is correct in the server. ... My account has full admin rights to the ... I successfully received full information from the folder (size, create date, ...
    (microsoft.public.exchange2000.development)