Download file from different server than IIS

E

EK

I am trying to use asp to download a file located on a different
server. I can use ADODB.Stream, LoadFromFile(\\Server\Something) and
the Response.BinaryWrite successfully, but only if I create an
IUSR_XXXX account on the other machine. What other alternatives do
I have, or is this the best method? Could I use a com object that ran
as a valid user on the other server to copy the file back to the IIS
server? Thanks in advance.
 
R

Ray at

Are the two servers, the two being the IIS server and the file server, in a
domain? If so, you can use a domain account as replacement to the default
IUSR account on your IIS server, and give that account rights to the file
share on the file server. That is another option. For more detailed info,
read this article. http://www.aspfaq.com/show.asp?id=2168

Ray at work
 
E

EK

Thanks for the link. The servers are in the same domain. Sounds like
synchronizing the anonymous user accounts on the two machines is the
way to go.
 
R

Ray at

Since they're in a domain, I personally would probably use a domain account
for the anonymous access instead of the local IUSR account. Synchronizing
local accounts on computers is something I'd only ever resort to for any
reason if I were ever unfortunate enough to be stuck in a workgroup
environment. But that's just me. :]

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,413
Latest member
ReeceDorri

Latest Threads

Top