This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C028C9.F0F149EA
Content-Type: text/plain;
charset="iso-8859-1"
Hello all,
we are trying to protect some of our files from accidental access to them.
Hence we have placed all of our files on a non web mapped location on the
server. Problem is that now we cannot even access .jpg and .gif files. We
are using cf_download to download the files, but we still would like our
users to view the files themselves. There are a few PERL scripts that will
allow to "mask" the url by simply feeding them the name of the file. So for
example, if I were to do an <a href="/bin/getcontent.pl?image.gif"> it would
return the image without revealing the real path of the file. The beauty of
the PERL script is that it can access files that are off line. The problem
with PERL and CGI is that it can cause a security problem. Now, I've been
recommended to user CFCONTENT, the problem with CFCONTENT is that it just
spews out the content, so a PDF file (even if I specify the mime type) will
come not come out as a PDF file, but some garbled text.
Has anybody had a similar kind of experience? I am not sure how to proceed.
We are looking into putting content in the SQL 7 DB, but that is not working
very well, as we need to rely on Stored Procedures. Any suggestions would
be greatly appreciated.
Thanks
------_=_NextPart_001_01C028C9.F0F149EA
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=270311121-27092000></SPAN><FONT size=2><FONT face=Arial>H<SPAN
class=270311121-27092000>ello all,</SPAN></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><SPAN
class=270311121-27092000></SPAN></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><SPAN class=270311121-27092000>we are trying
to protect some of our files from accidental access to them. Hence we have
placed all of our files on a non web mapped location on the server.
Problem is that now we cannot even access .jpg and .gif files. We are
using cf_download to download the files, but we still would like our users to
view the files themselves. There are a few PERL scripts that will allow to
"mask" the url by simply feeding them the name of the file. So for example, if I
were to do an <a href="/bin/getcontent.pl?image.gif"> it would return the
image without revealing the real path of the file. The beauty of the PERL
script is that it can access files that are off line. The problem with
PERL and CGI is that it can cause a security problem. Now, I've been
recommended to user CFCONTENT, the problem with CFCONTENT is that it just spews
out the content, so a PDF file (even if I specify the mime type) will come not
come out as a PDF file, but some garbled text.</SPAN></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><SPAN
class=270311121-27092000></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=270311121-27092000>Has anybody had a
similar kind of experience? I am not sure how to proceed. We are
looking into putting content in the SQL 7 DB, but that is not working very well,
as we need to rely on Stored Procedures. Any suggestions would be greatly
appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270311121-27092000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270311121-27092000>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=270311121-27092000></SPAN></FONT> </DIV>
<DIV> </DIV></BODY></HTML>
------_=_NextPart_001_01C028C9.F0F149EA--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.