Article View: borland.public.cppbuilder.internet.web
Article #869ADOConnection to SQLServer inside ISAPI application
From: Kirsten
Date: Sat, 21 Jan 2006 17:03
Date: Sat, 21 Jan 2006 17:03
12 lines
1486 bytes
1486 bytes
I have an ISAPI application that runs with the Administrator account in IIS 5. Inside it, there is an ADOConnection that connects to SQLServer using windows authentication. Because the DLL executes with the "Administrator" account I guess that ADO must connect using this account, but sometimes it connects with the privileges of the first user that connects to the site (and loads the dll) using Internet Explorer (obviously IE logs on to IIS with the current NT username). Is this normal? How to prevent this from happening? Thanks!
Technical Details
Message-ID:
<43d268b4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,2e5139816ad5e60f,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Kirsten" <norep@norep.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: ADOConnection to SQLServer inside ISAPI application Date: Sat, 21 Jan 2006 14:03:26 -0300 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 NNTP-Posting-Host: 190.48.107.219 Message-ID: <43d268b4@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137862836 190.48.107.219 (21 Jan 2006 09:00:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail