Re:What naming convention do you use for S3 keys?
by sam on Thursday April 03, 2008 @03:00AM
(#153723)
Yeah, using the GUID works, but then it opens us up to someone coming in and just scraping every file we have on S3 which would be bad for us. I'm leaning towards encrypting/obfuscating the ids... any suggestions for python libraries suited to this task?
If I were going to use them for hosting my videos or something, I'd probably just use the GUID without the need for the MD5. Just make sure there's not chance of duplicates in the database schema and it should work.
I use Bacula for network backups and it does the same thing. All paths and filenames are stored as unique ID numbers.