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_01C0297B.7F2629C8
Content-Type: text/plain;
charset="iso-8859-1"
Rob, thanks for the feedback.
For PDF files I am using the standard MIME types.
Here is my code.
<cfcontent type="application/pdf" file="F:\projectdata\1\1\test.pdf"
deletefile="No">
You can go to
http://www.edificium.com/imagetest/getstuff.cfm?bob=pdf to see the (awful
mess of a) result
On the second part of your message, if I do use the CF directory mappings,
aren't I suddenly unable to user the <img src="..."> tag - is there a work
around?
Thanks fo ryou help
Nadir
-----Original Message-----
From: Rob Keniger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 12:48 AM
To: CF-Talk
Subject: Re: Protecting Content / content leeching... A CF method?
on 9/28/00 7:28 AM, Nadir Ait-Laoussine at [EMAIL PROTECTED] wrote:
> 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.
What MIME type are you using for PDFs? What you describe works perfectly for
me.
You could also try using CF directory mappings - these will prevent anyone
directly accessing the files if you point them outside the Web root
directory.
Rob Keniger [EMAIL PROTECTED]
____________________________________________________________________________
big bang solutions
<http://www.bigbang.net.au> p +61 7 3311 2733 f +61 7 3311 2744
____________________________________________________________________________
----------------------------------------------------------------------------
--
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.
------_=_NextPart_001_01C0297B.7F2629C8
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: Protecting Content / content leeching... A CF =
method?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Rob, thanks for the feedback.</FONT>
</P>
<P><FONT SIZE=3D2>For PDF files I am using the standard MIME =
types.</FONT>
</P>
<P><FONT SIZE=3D2>Here is my code.</FONT>
</P>
<P><FONT SIZE=3D2><cfcontent type=3D"application/pdf" =
file=3D"F:\projectdata\1\1\test.pdf" =
deletefile=3D"No"></FONT>
</P>
<P><FONT SIZE=3D2>You can go to </FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.edificium.com/imagetest/getstuff.cfm?bob=3Dpdf" =
TARGET=3D"_blank">http://www.edificium.com/imagetest/getstuff.cfm?bob=3D=
pdf</A> to see the (awful mess of a) result</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>On the second part of your message, if I do use the =
CF directory mappings, aren't I suddenly unable to user the =
<img src=3D"..."> tag - is there a work =
around?</FONT></P>
<P><FONT SIZE=3D2>Thanks fo ryou help</FONT>
<BR><FONT SIZE=3D2>Nadir</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Rob Keniger [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>=
<BR><FONT SIZE=3D2>Sent: Thursday, September 28, 2000 12:48 AM</FONT>
<BR><FONT SIZE=3D2>To: CF-Talk</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Protecting Content / content =
leeching... A CF method?</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>on 9/28/00 7:28 AM, Nadir Ait-Laoussine at =
[EMAIL PROTECTED] wrote:</FONT>
</P>
<P><FONT SIZE=3D2>> Now, I've been</FONT>
<BR><FONT SIZE=3D2>> recommended to user CFCONTENT, the problem with =
CFCONTENT is that it just</FONT>
<BR><FONT SIZE=3D2>> spews out the content, so a PDF file (even if I =
specify the mime type) will</FONT>
<BR><FONT SIZE=3D2>> come not come out as a PDF file, but some =
garbled text.</FONT>
</P>
<P><FONT SIZE=3D2>What MIME type are you using for PDFs? What you =
describe works perfectly for</FONT>
<BR><FONT SIZE=3D2>me.</FONT>
</P>
<P><FONT SIZE=3D2>You could also try using CF directory mappings - =
these will prevent anyone</FONT>
<BR><FONT SIZE=3D2>directly accessing the files if you point them =
outside the Web root</FONT>
<BR><FONT SIZE=3D2>directory.</FONT>
</P>
<P><FONT SIZE=3D2>Rob =
Keniger  =
;  =
;  =
; =
[EMAIL PROTECTED]</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________________________=
_____________</FONT>
</P>
<P><FONT SIZE=3D2>big bang solutions</FONT>
<BR><FONT SIZE=3D2><<A HREF=3D"http://www.bigbang.net.au" =
TARGET=3D"_blank">http://www.bigbang.net.au</A>> &nb=
sp; p +61 7 3311 =
2733 f +61 7 3311 2744</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________________________=
_____________</FONT>
</P>
<BR>
<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>
</BODY>
</HTML>
------_=_NextPart_001_01C0297B.7F2629C8--
------------------------------------------------------------------------------
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.