Use Roles with Forms auth ans SQL?

From: Guogang (huguogang@email.com)
Date: 02/20/03

  • Next message: Ramiro Calderon Romero: "Re: Use Roles with Forms auth ans SQL?"
    From: "Guogang" <huguogang@email.com>
    Date: Wed, 19 Feb 2003 18:22:16 -0800
    
    

    insert this into web.config in your admin folder:
    <authorization>
       <allow roles="admin"/>
    </authorization>
    >-----Original Message-----
    >
    > Greetings, I've been googling for about an hour
    now and I
    >think I may be more confused than when I started. What
    I'd like to be
    >able to do is (for simplicity's sake) the following:
    >
    >Have a SQL table, say 3 fields.. username, password, role
    >Have 2 subdirectories.. say manage_tickets and user_maint
    >
    >Is it possible (and if so, some links or code snippets
    would be
    >greatly appreciated) to be able to say that only people
    in the
    >'technician' or 'admin' roles have access to
    the 'manage_tickets'
    >folder and that only the 'admin' role has access to
    the 'user_maint'
    >folder?
    >
    >I'd like to be able to manage user account from within
    the app, so
    >hard-coding user names into the web.config looks to be
    out. I want to
    >be able to create a record in
    SQL 'bob', 'mypassword', 'technician'
    >and poof! 'bob' has access to 'manage_tickets'.
    >
    >Maybe I should go have some coffee....
    >
    >.
    >



    Relevant Pages

    • Re: Use Roles with Forms auth ans SQL?
      ... not trivial to set up database authentication in a safe manner, ... >folder and that only the 'admin' role has access to the 'user_maint' ... >I'd like to be able to manage user account from within the app, ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: The User Profile Service failed the logon. User profile cannot be loaded.
      ... Now that you backed up the corrupted User Folder, ... Admin Account, and delete the corrupted User Account. ...
      (microsoft.public.windows.vista.general)
    • 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)