---
Hi there Paul
I had to implement something like this a few years back (with CV's
rather than anything else) and the basic outline of how I implemented
it is as follows:
1) All documents are stored ouside of the web root, eg:
c:\Inetpub/docuploads -> where all the docs are stored (add sub dirs as req'd)
c:\Inetpub/wwwroot -> where the web files are
2) Whenever you need to get a file, you dont serve it directly, you
get coldfusion to return a page that has a
<cfcontent file="c:\Inetpub\docuploads\somefile.doc" type="application/msword">
in it, replacing the somefile.doc for the file that the user is allowed to see
That give you an idea, you can of course add mappings etc
Regards
Mark Drew
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

