There are a number of ways to do this, and the best if the situation is
applicable to you is this:
Underneath the project's root directory, have the document directory;
this will stop people from just typing the url address and getting the
document.
Now you could do the following here, you could use a cfmapping to
include the file, this is the method I would use. But again you would
need to be able to add cf mappings to do this.
If this is not applicable then, if you have the ability to use the
cfregistry then you could use this tag to add the mapping. But the
server will need to be restarted, there is a way around this and if you
do require more assistance on this I would be more than happy to share a
way to do this for you.
Regards,
Andrew Scott
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 25 August 2001 8:17 AM
To: CF-Talk
Subject: protect downloadble documents
Hi,
I'm building a password protected extranet that allows someone, once
logged
int to view .doc, .pdf and .ppt's. But can I use ColdFusion somehow to
prevent someone from linking directly to the .doc, .pdf, .ppt without
having
to log in?
Thanks
Sal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists