Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening files on a 2nd server by passing security parameters

Status
Not open for further replies.

dkwall

Programmer
Sep 25, 2007
5
US
Hi,
I'm trying to open a log file on a server (that's not the application web server) and display the log in an html or aspx page on client.

I've researched several options but have failed mostly due to security permissions. I'm unable to open the file regardless of the process by which I do it unless I manually map a drive on the web server or client pc. Because there are so many log files (about 14 on each of 6 servers) I'd rather not map drives to 84 different directories. (This is a bit over-exaggerrated, but you get my point.)

So my question is, what is the best way to accomplish this task without mapping a drive? I've tried impersonation with a user that has admin rights on both servers, but this doesn't seem to work without mapping also.

Specs:
Web Server: Windows 2003; IIS 6.0
File Server: Windows 2003; IIS (not installed)

Thanks,

d
 
impersonation only mimics credentials on the IIS machine. you need to setup delegation between the IIS server and the remote servers. Delegation will pass the impersonated credentials from IIS to the remote machine.

Open AD. Click Computers. Open the properties for the web server. Click the Delegation tab. setup what can be delegated.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Thanks so much. I'm sure this would have worked if my company allowed delegation, but it doesn't look like they do since, when logged in as an Administrator, everything on the delegation tab is disabled. Am I missing something to enable the delegation option?

Are there other options for opening files on the client machine without mapping a network drive?

Thanks,

d
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top