Windows authentication in classic ASP

Discussion in 'ASP .Net Security' started by Nuno Filipe, Nov 6, 2003.

  1. Nuno Filipe

    Nuno Filipe Guest

    How can I simulate the usage of web.config in classic asp ?

    Can any one help with this ?

    thanks in advance,

    Nuno
     
    Nuno Filipe, Nov 6, 2003
    #1
    1. Advertising

  2. What do you want to simulate? Windows authentication? You do that using IIS
    itself. You don't get all of the rich authentication features of ASP.NET
    without rolling your own. My question is, why simulate? Just use ASP.NET...

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    --

    "Nuno Filipe" <> wrote in message
    news:...
    > How can I simulate the usage of web.config in classic asp ?
    >
    > Can any one help with this ?
    >
    > thanks in advance,
    >
    > Nuno
    >
    >
     
    Chris Jackson, Nov 6, 2003
    #2
    1. Advertising

  3. Nuno Filipe

    Nuno Filipe Guest

    "Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message
    news:Opy%...
    > What do you want to simulate? Windows authentication? You do that using

    IIS
    > itself. You don't get all of the rich authentication features of ASP.NET
    > without rolling your own. My question is, why simulate? Just use

    ASP.NET...
    >


    I want to grant / deny access to diferent users on several directories of
    the application and my ideia was to put a web.config in each directory with
    the users configuration.
    It's a very large and complex application, that's why I don't port it to
    ASP.NET.

    How can I do this ?

    Thanks in advance,

    Nuno
     
    Nuno Filipe, Nov 7, 2003
    #3
  4. Well, you don't get web.config for ASP classic, but you can achieve the same
    result directly through the file system - selectively give access to the
    directory to the users or groups you need using NTFS ACLs.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows Shell/UI
    Windows XP Associate Expert
    --
    More people read the newsgroups than read my email.
    Reply to the newsgroup for a faster response.
    (Control-G using Outlook Express)
    --

    "Nuno Filipe" <> wrote in message
    news:...
    > "Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message
    > news:Opy%...
    > > What do you want to simulate? Windows authentication? You do that using

    > IIS
    > > itself. You don't get all of the rich authentication features of ASP.NET
    > > without rolling your own. My question is, why simulate? Just use

    > ASP.NET...
    > >

    >
    > I want to grant / deny access to diferent users on several directories of
    > the application and my ideia was to put a web.config in each directory

    with
    > the users configuration.
    > It's a very large and complex application, that's why I don't port it to
    > ASP.NET.
    >
    > How can I do this ?
    >
    > Thanks in advance,
    >
    > Nuno
    >
    >
     
    Chris Jackson, Nov 7, 2003
    #4
  5. Nuno Filipe

    Guest Guest

    You can also create an ISAPI filter to do the work (I've
    done this...)
    >-----Original Message-----
    >Well, you don't get web.config for ASP classic, but you

    can achieve the same
    >result directly through the file system - selectively

    give access to the
    >directory to the users or groups you need using NTFS

    ACLs.
    >
    >--
    >Chris Jackson
    >Software Engineer
    >Microsoft MVP - Windows Shell/UI
    >Windows XP Associate Expert
    >--
    >More people read the newsgroups than read my email.
    >Reply to the newsgroup for a faster response.
    >(Control-G using Outlook Express)
    >--
    >
    >"Nuno Filipe" <> wrote in message
    >news:...
    >> "Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in

    message
    >> news:Opy%...
    >> > What do you want to simulate? Windows

    authentication? You do that using
    >> IIS
    >> > itself. You don't get all of the rich authentication

    features of ASP.NET
    >> > without rolling your own. My question is, why

    simulate? Just use
    >> ASP.NET...
    >> >

    >>
    >> I want to grant / deny access to diferent users on

    several directories of
    >> the application and my ideia was to put a web.config

    in each directory
    >with
    >> the users configuration.
    >> It's a very large and complex application, that's why

    I don't port it to
    >> ASP.NET.
    >>
    >> How can I do this ?
    >>
    >> Thanks in advance,
    >>
    >> Nuno
    >>
    >>

    >
    >
    >.
    >
     
    Guest, Nov 10, 2003
    #5
    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. Jo Inferis

    Forms Authentication and Classic ASP

    Jo Inferis, Jan 26, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,550
    Jo Inferis
    Jan 26, 2005
  2. Guest
    Replies:
    1
    Views:
    909
    Kevin Spencer
    May 19, 2005
  3. Srismiles
    Replies:
    6
    Views:
    1,283
    Dooza
    Jul 19, 2010
  4. Thomas
    Replies:
    1
    Views:
    1,479
    Thomas
    Aug 3, 2010
  5. Replies:
    4
    Views:
    228
    Andreas Leitgeb
    Oct 12, 2013
Loading...

Share This Page