Serving Up Files Through a Firewall
am 11.08.2005 22:57:03 von paul.schiele
I have read several posts on the merits of storing the path to a file
in a database versus the storing the image in a database. How are
people accomplishing this if the disk storage is on the internal
network and the web server is on the other side of the firewall? If
you store just the link then the web server can't get through the
firewall to the fileserver to get the image file (at least the way our
is set up). The only way we have found around it is to store the
images in the database which has plenty of disk storage and to access
the db through ODBC which can go through the firewall. Is there a way
to store the files on the corporate network and serve them up through
the web server on the other side of the firewall? If I put more
storage on the web server then those on the corporate network can't get
to the files because of the firewall.
Thanks,
Paul
Re: Serving Up Files Through a Firewall
am 15.08.2005 14:46:54 von Mark Schupp
Its the end-user's browser that cannot get through the firewall if you use a
simple link. It should be possible to configure the fire-wall to allow the
web-server to read the files directly from the internal network with
server-side code (see http://www.aspfaq.com/show.asp?id=2276). Probably your
IS people won't like to allow this which leaves you with the option of
keeping the images in the database (look at changing from ODBC to OleDB
however) or publishing a duplicate image file to the web-server and pointing
to the duplicate in the database (hint: make the directory structure
containing the images identical on both systems).
--
--Mark Schupp
wrote in message
news:1123793823.247972.88510@g14g2000cwa.googlegroups.com...
>I have read several posts on the merits of storing the path to a file
> in a database versus the storing the image in a database. How are
> people accomplishing this if the disk storage is on the internal
> network and the web server is on the other side of the firewall? If
> you store just the link then the web server can't get through the
> firewall to the fileserver to get the image file (at least the way our
> is set up). The only way we have found around it is to store the
> images in the database which has plenty of disk storage and to access
> the db through ODBC which can go through the firewall. Is there a way
> to store the files on the corporate network and serve them up through
> the web server on the other side of the firewall? If I put more
> storage on the web server then those on the corporate network can't get
> to the files because of the firewall.
>
> Thanks,
>
> Paul
>