3 ms·
First of all, Amazon S3 is absolutely not a CDN. How easy would these be to guess? There is a 1:3e38 chance of two randomly generated UUIDs colliding. What i
by falsestprophet 17y ago
First of all, Amazon S3 is absolutely not a CDN.
How easy would these be to guess?
There is a 1:3e38 chance of two randomly generated UUIDs colliding.
What is the best algorithm to create them?
http://en.wikipedia.org/wiki/Universally_Unique_Identifier#Implementations http://en.wikipedia.org/wiki/Universally_Unique_Identifier#I...
Should I just make them all private and use authenticated access controls?
If your users don't want other people peaking at their files (DropBox): yes absolutely. If your users don't care (HotorNot), then no.
- milestinsley 17y agoI guess Amazon Cloud Front is the CDN then, rather than S3 itself! :) Whilst it seems fair to assume two UUID will almost certainly not collide, the way you pose that last question sums up my query: If your users don't want other people peaking at their files (DropBox): yes absolutely The answer is yes. Ultimately, users should not be able to see each others files, and from what you and other commenters are saying, UUID's on published files are still not robust enough to achieve this. Thanks for your information.
- dustingetz 17y ago"Randomly generated UUIDs ... To put these numbers into perspective, one's annual risk of being hit by a meteorite is estimated to be one chance in 17 billion [24], that means the probability is about 0.00000000006 (6 × 10−11), equivalent to the odds of creating a few tens of trillions of UUIDs in a year and having one duplicate. In other words, only after generating 1 billion UUIDs every second for the next 100 years, the probability of creating just one duplicate would be about 50%. The probability of one duplicate would be about 50% if every person on earth owns 600 million UUIDs." for smarter than brute-force random UUID algs, the odds of collision are lower.