Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application.cfm and non *.cfm files

Status
Not open for further replies.

nero

Programmer
Sep 11, 2000
25
AU
Hi all

I've hit a wall with this one:

My understanding is that application.cfm will only secure *.cfm files.

If I have users uploading word doc's or pdf's into the application root they will be open to access via an absolute url without any cf challenge, right?

I'm trying to figure out how to lock these files down.

<cfcontent> to the files outside the application root was an option, but as this application will run from an SSL server, I hear there could be problems.

I tried advanced security and it wouldn't lock down these files, even if I specified *.doc for example.

I would like to avoid NT security on this one if possible, due to the number of seperate accounts which need to be created.

Any ideas?

Cheers

Nero
 
Hey Nero,

Is it possible to protect the files by hiding their path? If so, you can have CF return the files through the <cfcontent> tag if they are authenticated. If not, I don't see any real efficient way to do what you need. There are some ways that might work but I would consider them more of a &quot;hack&quot; than a real solution.

GJ
 
Thanks GunJack

I've have heard problems using <cfcontent> and SSL together. Have you, or anyone else heard of this?

Thanks for your help

Nero
 
Hey nero,

I have never heard of any specific problems with it and I have some clients who use the tag regularly.

GJ
 
GunJack

A collegue of mine tried it under SSL and what was returned was a type binary contents of the file. I suppose this makes sense considering encryption etc.

I'll try and replicate the error and see what I find.


Thanks for your time.

Nero
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top