473,803 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1579
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******** ******@TK2MSFTN GP09.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.NOS PAM> wrote in message
news:#f******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP09.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******** ********@TK2MSF TNGP09.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.NOS PAM> wrote in message
news:#f******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP09.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******** ********@TK2MSF TNGP09.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.NOS PAM> wrote in message
news:#f******** ******@TK2MSFTN GP10.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******** ******@TK2MSFTN GP09.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
10864
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 connecting from another computer using Enterprise Manager with the server's IP as the instance name, I always get the usual "Specified SQL Server not found" error. I have used Enterprise Manager many times to connect to local and remote servers...
12
3389
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 remote access to at least the server, hopefully the whole network. And to be able to upload/download, to install new versions of the FE to the server (which then get sent up to the clients at runtime). What experience does anybody have of this....
2
3041
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 export a simple subset of data to our ISP, like customer name, order ID and status. Anyone ever do this? For example, if the status changed from REQUEST to QUOTE or from QUOTE to PRODUCTION, the AfterUpdate event of the Access application...
56
5979
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 to a 2nd office 15 minutes down the road. Only one office will be open at a time, so theoretically it'd be possible to copy the back-end manually every night from one office to another, but frankly, that's pretty annoying.
64
5265
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. Any comments? Thanks
2
3216
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 database. Tried all possible combinations but it still fails. I have Windows 2003 server having SQL Server 2000 installed with SP2. The installation went Ok on a XP professional machine and I was able to create database and user logins etc on...
2
2586
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 doesn't work. In internet browser i'm opening address for example: http://remote_computer/WebServ1/Service.asmx but it want to open it. On both machines is WinXP Pro SP2, and I have IIS 5.0 instalated. I dont know what to do, and how to...
3
6638
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 installed on the server I want to debug, the remote debugger tools from the VS 2005 CD. I just install the windows application. I tried from there to debug, without succes. I could connect to the remote machine only when the msvsmon.exe is in the...
10
12998
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 the database while the application is running on the development PC, but whenever I am on any other PC on my network I cannot connect the application to the DB server running on another machine. I have been searching for a solution for quite a long...
0
9565
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.