SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict webmistress's Avatar
    Join Date
    Aug 2002
    Location
    Derbyshire, UK
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what's the best way to pswd protect a dir?

    I need to password protect a directory on my win 2000 Server. Anyone know the best way to do it?

    I am running IIS 5. I have been on to Microsoft, but I got lost in depths of pages!

    Any help/links would be appreciated.

    Thanks
    ****************
    The Webmistress

  2. #2
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are several ways. You can either let NT handle it through IIS with 'NT challenge/response' or 'basic' security or write some ASP to do it (which is probably the least secure way I guess). To what degree do you need the security? If you tell us more about what you want to achieve we could probably help better.

    This article explains the IIS route .... be careful if you've never really played around with NT user manager before though or you could really screw things up. If I were you I'd spend a few minutes adding and deleting TEST USERS first.

    As for ASP, it's quite easy to write scripts that keep people out but they're usually not foolproof.

    G

  3. #3
    SitePoint Addict webmistress's Avatar
    Join Date
    Aug 2002
    Location
    Derbyshire, UK
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I should try the NT route then. It needs to be very secure. I only need one person to access this dir and the dir will also be a executable dir, ie run cgi scripts. Will that cause any problems?


    Thanks
    ****************
    The Webmistress

  4. #4
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Only one user? That makes it even easier. Does this user have a static IP address?

    G

  5. #5
    SitePoint Addict webmistress's Avatar
    Join Date
    Aug 2002
    Location
    Derbyshire, UK
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no, the user will need access from anywhere they are, ie worldwide.
    ****************
    The Webmistress

  6. #6
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rats! There goes the super-simple but highly effective answer then ...

    IIS it is, I'd say .... that article seems to take you through it pretty well.

    G

  7. #7
    SitePoint Addict webmistress's Avatar
    Join Date
    Aug 2002
    Location
    Derbyshire, UK
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great thanks. I'll try that.
    ****************
    The Webmistress


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •