My cfm application runs fine, but I have a problem securing my pdf files:
The application.cfm/login.cfm only works with .cfm files.
So if a user write the full adress (http://www.mysite.com/pdf/onlyforusers.pdf), the file will popup in the browser, - not god!
Is the a way to make the user login - before the pdf is shown.?

I'm not sure if this will work, but create an application.cfm file in the pdf folder that has user authentication code. I believe that the CF processor will read this file before it sends the pdf to the user. Unfortunately, I don't currently have a CF server to test this with, so I'm kinda going by memory.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.