Hello Guys,
I've got an application that receives files from an upload form, the user can then come and view/download those files again at a later date. When the file is uploaded I store the basic details, such as the files path and name into a database table, these entries are displayed to the user with a download link, once the link is clicked the file is then served to the client using the cfcontent tag. Now, I'm looking for a method to ensure that the file has not been modified on the file system since the user uploaded it, the chances of it being modified are exceptionally slim, I know, but the consequences of it having happened are quite serious, so I need to be sure. I'm thinking about implementing some form of MD5 check sum on the files, this sum will be saved to the database when the file is uploaded, and checked against a newly generated checksum before the file is served back to the user again. Does that sounds like a fair concept? How severally is it likely to hit performance? Is there a better option? I've also not done any of this MD5 work before, has anyone got any pointers on the best way to handle it? Thanks again, Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291012 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

