Forms Authentication using Folders

Discussion in 'ASP .Net Security' started by Daren Hawes, Aug 17, 2004.

  1. Daren Hawes

    Daren Hawes Guest

    Hi I wish to use Forms Authentication and have read the C# demo at
    Microsoft (Does anyone know of a good VB Demo?) and I need to know if I
    can protect seperate folders in an application or even seperate files.

    IE some files/folders will need authentication and some wont.

    I cant find any examples to configure the web config?

    Or do I need to create a seperate application folder? If this is the
    case can I manage it all from the same solution view??

    Thx Daren


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Daren Hawes, Aug 17, 2004
    #1
    1. Advertising

  2. Daren Hawes

    Raterus Guest

    There really shouldn't be any coding involved, it is all done in web.config using the <location> tags, either put folders/files or both.

    http://msdn.microsoft.com/library/d.../en-us/cpgenref/html/gngrflocationelement.asp

    "Daren Hawes" <> wrote in message news:...
    > Hi I wish to use Forms Authentication and have read the C# demo at
    > Microsoft (Does anyone know of a good VB Demo?) and I need to know if I
    > can protect seperate folders in an application or even seperate files.
    >
    > IE some files/folders will need authentication and some wont.
    >
    > I cant find any examples to configure the web config?
    >
    > Or do I need to create a seperate application folder? If this is the
    > case can I manage it all from the same solution view??
    >
    > Thx Daren
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
     
    Raterus, Aug 17, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harley
    Replies:
    1
    Views:
    669
    John Saunders
    Nov 25, 2003
  2. Jurjen de Groot
    Replies:
    0
    Views:
    430
    Jurjen de Groot
    Jan 30, 2004
  3. Jerry Morton
    Replies:
    0
    Views:
    455
    Jerry Morton
    Oct 10, 2004
  4. Adam
    Replies:
    2
    Views:
    9,781
  5. Eric
    Replies:
    2
    Views:
    595
Loading...

Share This Page