Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old February 23rd, 2006, 04:04 PM
phrreakk33 phrreakk33 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2006
Posts: 1 phrreakk33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 34 sec
Reputation Power: 0
IIS help with authentication

Good afternoon,

My setup:

Windows 2000 server with IIS 5 and all updates
ASP files (not .Net)
MSDE 2000 database

My problem:

Here goes...I am using some software that runs off of asp pages that contact a MSDE database using Windows Authentication. My problem is that when I logon to the server as myself, IE and IIS get their acts together and I auto-authenticate to the page. If I go to my desktop and logon to the site, IE and IIS get their acts together also and I login. But if I go to another user that isn't an admin on that box...then I get an error in the asp page. I know it is not the asp page because when I add the "Domain Users" group to the local Administrators group on the server...I get right in fine. So why is it that unless I am an admin on the box does IIS seem to send through the right credentials? Are there any workarounds or hints?

Thank you in advance if anyone can help.

Reply With Quote
  #2  
Old February 23rd, 2006, 06:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Use osql or some other db tool to change your MSDE to use sql server authentication or mixed mode authentication, then add a user to msde. Then specify the database user in your connection from asp rather than windows authentication.

The problem with windows authentication is that the anonymous IIS user account normally has no permissions into the MSDE database, and is also a local user on the IIS computer so if your MSDE is on a different computer windows authentication mode has real problems.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS help with authentication


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 1 hosted by Hostway
Stay green...Green IT