#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    26
    Rep Power
    0

    authentication question


    Windows 2000, IIS (whatever came with win 2000)

    Right now we have clients logging in to our staging server by following a link like this:

    http://stage.domain.com/clientname1/
    There are permissions set on that clientname1 directory so they are prompted to authenticate.



    Would there be a way to have all clients use the same url and then IIS decide where they should go based on their login (which always corresponds to the folder name)?

    Example:

    http://stage.domain.com/
    login as:
    clientname1, pass whatever
    then redirected (or just served content from) to http://stage.domain.com/clientname1/

    Thanks!
    Reid
  2. #2
  3. No Profile Picture
    Web Geek
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    64
    Rep Power
    13
    Originally Posted by reid
    Windows 2000, IIS (whatever came with win 2000)

    Right now we have clients logging in to our staging server by following a link like this:

    http://stage.domain.com/clientname1/
    There are permissions set on that clientname1 directory so they are prompted to authenticate.



    Would there be a way to have all clients use the same url and then IIS decide where they should go based on their login (which always corresponds to the folder name)?

    Example:

    http://stage.domain.com/
    login as:
    clientname1, pass whatever
    then redirected (or just served content from) to http://stage.domain.com/clientname1/

    Thanks!
    Reid

    How do they login? Via ftp? If so, you can use the isolate users option. Within the ftp folder, create a folder for the domain, and within that, a folder for each user name. I'm still working on putting a folder from within that that will point to the folder wwwroot/clientname/
    Do not reinvent the wheel, unless your new wheel works that much better.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    26
    Rep Power
    0

    http


    Originally Posted by nickwinters
    How do they login? Via ftp? If so, you can use the isolate users option. Within the ftp folder, create a folder for the domain, and within that, a folder for each user name. I'm still working on putting a folder from within that that will point to the folder wwwroot/clientname/
    No. It's all through a browser. Http.
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,428
    Rep Power
    4539
    You might be able to use asp for what you want.

    There is a servervariable for auth_user or something similar, and I think this will get set when your users authenticate.

    You could inspect this after a login and then redirect to the appropriate folder.
    ======
    Doug G
    ======
    The man who doesn't read good books has no advantage over the man who can't read them.
    --Mark Twain

IMN logo majestic logo threadwatch logo seochat tools logo