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 / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Connections Strings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charles A. Lackman - 15 Dec 2004 19:09 GMT
Hello,

I have created a web site that is being run on a Web Server (Computer #1)
and information from the web site is stored in an access (Jet 4.0) database
on another computer (Computer #2).  Computer #2 is a domain controller and
has a folder that is shared to hold the database.  When the web visitor
click's "Submit" an error occurs and I believe it is because the connection
string cannot access the shared folder on the domain.  How should I solve
this problem?

1)  Should I add the Web User Account as a member of the domain?

2)  Should I (if possible, and if so how) add the domain "UserName" and
"Password" to the connection string so that when the data is being sent it
gains access to the shared folder on the domain?

If I am barking up the wrong tree, please let me know.

Any suggestions will be greatly appreciated.

Thank,

Chuck
Isaias Formacio-Serna - 15 Dec 2004 19:29 GMT
You have to create an account in the domain, in computer 1 configure in the
IIS > your application's properties > Directory Security > Anonymous access
and authentication > Change gue user for anonymous access for that user;
then in the folder of computer 2 give enough permissions for the same domain
user to access the files.

-IFS

> Hello,
>
[quoted text clipped - 19 lines]
>
> Chuck
Paul Clement - 15 Dec 2004 19:43 GMT
¤ Hello,
¤
¤ I have created a web site that is being run on a Web Server (Computer #1)
¤ and information from the web site is stored in an access (Jet 4.0) database
¤ on another computer (Computer #2).  Computer #2 is a domain controller and
¤ has a folder that is shared to hold the database.  When the web visitor
¤ click's "Submit" an error occurs and I believe it is because the connection
¤ string cannot access the shared folder on the domain.  How should I solve
¤ this problem?
¤
¤ 1)  Should I add the Web User Account as a member of the domain?
¤
¤ 2)  Should I (if possible, and if so how) add the domain "UserName" and
¤ "Password" to the connection string so that when the data is being sent it
¤ gains access to the shared folder on the domain?
¤
¤ If I am barking up the wrong tree, please let me know.
¤
¤ Any suggestions will be greatly appreciated.

Once you start accessing remote resources from the web server you're operating under a delegation
scenario. I don't know what type of authentication your web application is implementing but if you
use Basic (w/o SSL) with impersonation you should be able to transparently pass credentials to the
remote resource.

The alternative is to implement Kerberos delegation:

http://support.microsoft.com/default.aspx?scid=kb;en-us;810572

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)

Rate this thread:







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.