On Tue, Feb 23, 2010 at 4:08 PM, gazza <[email protected]> wrote:

> I think I've opted to store on disc. I guess there are two camps
> regarding this.
>

If you're worried about filename integrity (including full path) you can
hash the files and store the fingerprints. I've done that before; works
nice.

While not "secure" (whatever) md5 is so fast that even a several meg file
can be hashed in so little time you kinda don't notice it unless you're
doing something really big.

But if you know that nobody will ever mess with the actual filesystem
storage, you can probably rely on the filenames.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to