SunQuest
           IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 17th, 2004, 02:30 PM
reid reid is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 26 reid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #2  
Old February 17th, 2004, 10:36 PM
nickwinters nickwinters is offline
Web Geek
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 62 nickwinters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 25 sec
Reputation Power: 7
Quote:
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.

Reply With Quote
  #3  
Old February 18th, 2004, 09:14 AM
reid reid is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 26 reid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
http

Quote:
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.

Reply With Quote
  #4  
Old February 18th, 2004, 11:20 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,679 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 14 h 50 m 53 sec
Reputation Power: 688
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
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > authentication question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway