Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / April 2007

Tip: Looking for answers? Try searching our database.

ACCESS AN ACCESS DATABASE FROM ASP.NET INTRANET SCENARIO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kmccoskey - 24 Apr 2007 18:38 GMT
I'm trying to access an access database on the file server from a web server
using asp.net and IIS 6.0.  I can do it when I have anonymous access enabled
in IIS 6.0 as in the public internet web site style.  I want to do the same
with the intranet setup where IIS 6.0 is not setup to allow anonymous access.
The way the intranet works is the user authenticates to the IIS 6.0 web
server through group membership in an active directory domain.  The user who
accesses a web page and tries to load information from a database is unable
to even when the user has access to the database through the user's domain
account.  When anonymous access is enable in IIS 6.0, the IUSR account is
used to access the database and that works.
kmccoskey - 25 Apr 2007 23:32 GMT
I'm trying to access an access database on the file server from a web server
using asp.net and IIS 6.0.  I can do it when I have anonymous access enabled
in IIS 6.0 as in the public internet web site style.  I want to do the same
with the intranet setup where IIS 6.0 is not setup to allow anonymous access.
The way the intranet works is the user authenticates to the IIS 6.0 web
server through group membership in an active directory domain.  The user who
accesses a web page and tries to load information from a database is unable
to even when the user has access to the database through the user's domain
account.  When anonymous access is enable in IIS 6.0 the IUSR account is used
to access the database and that works.  Is there a way to login to the remote
host from inside the asp.net code to get access to the database?
Paul Clement - 27 Apr 2007 15:45 GMT
¤ I'm trying to access an access database on the file server from a web server
¤ using asp.net and IIS 6.0.  I can do it when I have anonymous access enabled
¤ in IIS 6.0 as in the public internet web site style.  I want to do the same
¤ with the intranet setup where IIS 6.0 is not setup to allow anonymous access.
¤  The way the intranet works is the user authenticates to the IIS 6.0 web
¤ server through group membership in an active directory domain.  The user who
¤ accesses a web page and tries to load information from a database is unable
¤ to even when the user has access to the database through the user's domain
¤ account.  When anonymous access is enable in IIS 6.0, the IUSR account is
¤ used to access the database and that works.

What level of security is the web app configured for? Basic? Integrated Windows?

Is impersonation enabled?

Paul
~~~~
Microsoft MVP (Visual Basic)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.