Access document through remote firewall?

D

Dean J. Garrett

I have a site which offers documents (.doc, .pdf, etc.) for download. The
user clicks on the link and is able to download the file or open it. What if
the source location of the document is behind a firewall of a remote server
(i.e. not the server running the ASP application)? How can the link be
configured in such a way so that security parameters are passed to the
firewall to authenticate the access. This must be seamless to the user, i.e.
they mustn't know there's any authentication happening behind the scenes.

Any thoughts are welcome!
 
C

Chris Barber

Use an ASP link where the ASP page goes and gets the document (ADODB.Stream
or whatever) according to a querystring or form post value and then returns
it as a binary stream with appropriate http headers.
How you get it [the document] to the ASP page on the webserver when the
document is behind a firewall etc. is entirely up to you.

Chris.

I have a site which offers documents (.doc, .pdf, etc.) for download. The
user clicks on the link and is able to download the file or open it. What if
the source location of the document is behind a firewall of a remote server
(i.e. not the server running the ASP application)? How can the link be
configured in such a way so that security parameters are passed to the
firewall to authenticate the access. This must be seamless to the user, i.e.
they mustn't know there's any authentication happening behind the scenes.

Any thoughts are welcome!
 
D

Dean J. Garrett

Thanks for your response. I guess the main issue is how this technique will
allow the requester to be authenticated with the firewall in order to
provide access to the document.
 
C

Chris Barber

The requester [eg. client] won't have to [authenticate] - that's the
responsibility of the ASP server-side code - presumably using the XMLHTTP
method may work unless Microsoft's url 'fix' has broken it.

Chris.

Thanks for your response. I guess the main issue is how this technique will
allow the requester to be authenticated with the firewall in order to
provide access to the document.
 

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

Forum statistics

Threads
474,145
Messages
2,570,825
Members
47,371
Latest member
Brkaa

Latest Threads

Top