RE: cold fusion, pdf files and security

2005-03-22 Thread Ian Vaughan
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

RE: cold fusion, pdf files and security

2005-03-22 Thread James Holmes
- 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

cold fusion, pdf files and security

2005-03-21 Thread Wurst, Keith D.
Hi everyone. I have a cf security question. I have a website and on that site are some pdfs. The site is password protected. On the site I have a pdf directory where I keep all my pdf's. I am concerned that if I emailed someone a link http://www.mysite.com/pdf/pdfname.pdf that they would be able

Re: cold fusion, pdf files and security

2005-03-21 Thread Nathan Strutz
Serve your PDFs through a cfm with cfcontent Something like this: cfheader name=Content-Disposition value=ATTACHMENT;FILENAME=Filename.pdf cfcontent type=application/pdf file=c:\path\to.pdf (Note the file path can be anywhere on the hard drive or network that CF has access to.) Then just put

Re: cold fusion, pdf files and security

2005-03-21 Thread Douglas Knudsen
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. Doug On Mon, 21 Mar 2005 16:00:43 -0500, Wurst, Keith D. [EMAIL PROTECTED] wrote: Hi everyone. I have a cf security question. I have a

Re: cold fusion, pdf files and security

2005-03-21 Thread Bryan Stevenson
: Monday, March 21, 2005 1:00 PM Subject: cold fusion, pdf files and security Hi everyone. I have a cf security question. I have a website and on that site are some pdfs. The site is password protected. On the site I have a pdf directory where I keep all my pdf's. I am concerned that if I emailed

Re: cold fusion, pdf files and security

2005-03-21 Thread Lee
In the folder where the PDF's are stored create an application.cfm file. In that file do a cfif and check for the existance of a cookie with a meta redirect (To form page described below) if it doesn't exist. Within the PDF folder create another folder called something like security. Within

Re: cold fusion, pdf files and security

2005-03-21 Thread Douglas Knudsen
Lee, this will not secure the pdfs though. A direct request to http://foo.com/goo/mypdf.pdf is not passed to CF. Therefore the application.cfm will never be fired. Doug On Mon, 21 Mar 2005 15:26:33 -0600, Lee [EMAIL PROTECTED] wrote: In the folder where the PDF's are stored create an

RE: cold fusion, pdf files and security

2005-03-21 Thread Burns, John D
, March 21, 2005 4:27 PM To: CF-Talk Subject: Re: cold fusion, pdf files and security In the folder where the PDF's are stored create an application.cfm file. In that file do a cfif and check for the existance of a cookie with a meta redirect (To form page described below) if it doesn't exist. Within

Re: cold fusion, pdf files and security

2005-03-21 Thread Bryan Stevenson
That won't work Lee because application.cfm only gets fired when a CFM is called unless I'm reading your post wrong.=20 Agreed...it would protect the index.cfm file...but NOT the PDFs from being browsable Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems

Re: cold fusion, pdf files and security

2005-03-21 Thread Lee
Hmmm that is correct. Would a worm be able to index the contents of the PDF folder? On Mon, 21 Mar 2005 16:37:47 -0500 Douglas Knudsen [EMAIL PROTECTED] wrote: Lee, this will not secure the pdfs though. A direct request to http://foo.com/goo/mypdf.pdf is not passed to CF. Therefore the

Re: cold fusion, pdf files and security

2005-03-21 Thread Michael Dinowitz
I use iAuth for these type things: http://coolfusion.com/products/iAuth/ Hi everyone. I have a cf security question. I have a website and on that site are some pdfs. The site is password protected. On the site I have a pdf directory where I keep all my pdf's. I am concerned that if I emailed

RE: cold fusion, PDF files and security

2005-03-21 Thread Ian Skinner
asked and answered a few hundred times on this list ;-) -move the PDFs to a non-web accessible directory -serve them up using a CFM file containing CFCONTENT This way they are not browsable and you can secure the CFM file using your existing security HTH Cheers For added fun, you can add OS