Results 1 to 5 of 5

Thread: User names...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    User names...

    Right this may get very hard to describe, but please try to understand my problem.

    I have an apache server set up on my computer and i have a directory one under the root directory called 'admins'. What i want is a .Htaccess file that would deny access to this file by user name. (not i.p because some users log on form the localhost.).

    At the moment all i have is:
    Require user admin

    This works, but this way prompts an already logged in user for another username and password. What i would like is for them to just receive the 'forbidden' page unless their username is 'admin'.
    If any one could help (or understand this problem) please reply, or direct me to a place where i may be able to find my required answer.
    Thanks
    Love Sythe
    Sythe

  2. #2
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Hmm, try this, it is in ASP and talks about different levels of security.

    http://www.learnasp.com/learn/security.asp
    Alcohol & calculus don't mix.
    Never drink & derive.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Apache doesn't support ASP without extra support software
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Alcohol & calculus don't mix.
    Never drink & derive.

  5. #5
    scoutt
    Guest

Posting Permissions

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



Click Here to Expand Forum to Full Width