I am trying to get a secure web site up that requires
user authentication. It works fine on my development
system using XP run as an administrator. On the
production server only administrators can connect -
others get the HTTP 500 - Internal Server Error page.
The problem happens on asp pages with odbc data
connections on them. NTFS permissions don't seem to be
the problem unless there are some files outside of the
web root that require authorization for non
administrators in order for the user to be able to
execute the ODBC connection code. I have created a test
site that has one asp page on it and that page has one
data connection using an ODBC data source. If I remove
the connection from the page both administrators and non
administrators can run it. With the dataconnection on
the page only administrators can run the page.
The environment is Server 2003 running IIS 6.0. Any help
or suggestions will be appreciated. Log snippets showing
a successful connection by an administrator account and
then a failed connection by a non administrator follow.
Note the |30|80020009| in the failed attempt. What does
this mean?
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2004-03-18 19:37:41
#Fields: date time s-sitename s-computername s-ip cs-
method cs-uri-stem cs-uri-query s-port cs-username c-ip
cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host
sc-status sc-substatus sc-win32-status sc-bytes cs-bytes
time-taken
-- Successful access for user adminname
2004-03-18 19:37:41 W3SVC1 WEB1 nnn.nnn.nnn.116
GET /securitytest/test.asp - 443 - nnn.nnn.nnn.39
HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.0;+T312461;+.NET+CLR+1
..1.4322) - - web1.mydomain.dom 401 2 2148074254 1903 377
2828
2004-03-18 19:37:48 W3SVC1 WEB1 nnn.nnn.nnn.116
GET /securitytest/test.asp - 443 adminname nnn.nnn.nnn.39
HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.0;+T312461;+.NET+CLR+1
..1.4322) - - web1.mydomain.dom 200 0 0 1975 420 2515
2004-03-18 19:37:48 W3SVC1 WEB1 nnn.nnn.nnn.116
GET /securitytest/_ScriptLibrary/pm.js - 443 adminname
nnn.nnn.nnn.39 HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.0;+T312461;+.NET+CLR+1
..1.4322) ASPSESSIONIDSSRQTSAA=KEFHENPAAFLIOEFOGIFLLBLO
https://web1.mydomain.dom/securitytest/test.asp web1.mydomain.dom 200 0 0 6880 413 0
-- Failed access for user joeuser
2004-03-18 19:40:20 W3SVC1 WEB1 nnn.nnn.nnn.116
GET /securitytest/test.asp - 443 - nnn.nnn.nnn.39
HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.0;+T312461;+.NET+CLR+1
..1.4322) - - web1.mydomain.dom 401 2 2148074254 1903 377
15
2004-03-18 19:40:30 W3SVC1 WEB1 nnn.nnn.nnn.116
GET /securitytest/test.asp |30|80020009|- 443 joeuser
nnn.nnn.nnn.39 HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.0;+T312461;+.NET+CLR+1
..1.4322) - - web1.mydomain.dom 500 0 0 546 416 5281