Not quite, because /documents/ is still web accessible. You need a folder outside the web root for the best security, as Doug said.
As for multiple file types, you can provide the correct mime type based on the file's extension, so you can mix file types as necessary. -----Original Message----- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 March 2005 5:28 To: CF-Talk Subject: RE: cold fusion, pdf files and security So if I wanted to secure this link using the CFContent tag <a class="homeaa" href="/documents/#docpath#">#doctitle#</a> I would replace it with <cfcontent type="application/pdf" file="/documents/#docpath#"> #doctitle# ???? Is this correct ?? Also what if there were multiple file types in the /documents directory such as .PDF, .DOC, .XLS etc. Would that rule CFCONTENT out ?? -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: 21 March 2005 21:10 To: CF-Talk Subject: Re: cold fusion, pdf files and security yup, place the pdfs, or other files you want protected, in a dir OUTSIDE your web root. Then use a CF page and the CFCONTENT tag to deliver your files. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

