News for hackers. Stuff that matters.
Re:Ask HN: Is security by obfuscation sufficient? by antirez on Monday November 16, 2009 @05:01PM (#945401)
Instead to use the MD5 of the file name do this: create a random string and associate this string in your database. Simply grab 256 bits from /dev/urandom for instance (and convert this in hex).

This has the very desirable property of not being able to guess the name of the file even if you know the name of the "object".

There are no comments on this comment yet.