Robert Rawlins - Think Blue wrote:
> 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 are you going to guarantee the person that changes the file doesn't 
change the registered hash too?

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291077
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to