473,379 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Access document through remote firewall?

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!

Jul 19 '05 #1
4 1563
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.

"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
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!


Jul 19 '05 #2
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.

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#f**************@TK2MSFTNGP10.phx.gbl...
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.

"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
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!

Jul 19 '05 #3
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.

"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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.

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#f**************@TK2MSFTNGP10.phx.gbl...
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.

"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
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!


Jul 19 '05 #4
You can always filter the user by ip address, and check that with the ASP
code. If they are behind the firewall, they should have an inside LAN ip
that you can check for. Of course, this depends on how you have your
network configured...
"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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.

"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:#f**************@TK2MSFTNGP10.phx.gbl...
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.

"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
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!


Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Oliver Klozoff | last post by:
Hi, I am having a hard time setting up an SQL Server 2000 Developer Edition instance for remote clients. The instance is running well and I can connect to it on the local computer. When I try...
12
by: Mike MacSween | last post by:
Sorry if this is a bit off topic, but I can't seem to find a 'remote control' newsgroup on my news server. And anyway I know Tony has some experience of this. The app is split FE/BE. I'd like...
2
by: Danny J. Lesandrini | last post by:
Our orders database exists inside our firewall but we have a web site hosted on an ISP server. If we wanted to give users the ability to query the status of their order in real time, we could just...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
64
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. ...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
2
by: Pepi | last post by:
Hi! I'm playing with WebServices in C# and when I test my project it works on machine where is webservice, but when I want to access to same webservice from remote machine in my local network it...
3
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I...
10
by: harvindersingh | last post by:
Hello I am developing an application that requires PostgreSQL connection, I have installed PostgreSQL on my development machine and using NpgSQL to connect to the database. I am able to connect to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.