I have an application that would allow users to update files
to a file server and then users would be able to view these files
online. The file server and the internet servers are two physically
different servers. There are restrictions on who can and cannot
view these files.
I have created a user name that the ColdFusion service is
going to use to access the file server. When I list out the files
on file server, I am actually specifying the paths to the actual
file server. The problem I have is, for those people who don't have
already have access to the file server, they cannot view the files.
One way I can think of to solve this problem is to use ColdFusion
to copy the file over from to a temp folder under web root on the
Internet server. And then people would be viewing the copy on the
internet server. But if I were to do it this way, I would also need
to create some kind of clean up the process to delete these files
in the temp folder.
In the process of discussing with my supervisor and some
other guys, someone told me that ASP can create a file stream and
all that he had to do is to specify the file type and the users
would be able to view the files. This way would probably be better
because I wouldn't need to store the files on the internet server;
hence, I don't need to create any clean up process.
FYI, the files that are being uploaded can be of any types,
.doc, .xls, .pdf, ...etc.
Thanks in advance,
Monte