Randomize Public Link
Idea shared by Hieu - 11/14/2016 at 4:11 PM
I noticed that public link url is sequential, counting up by one. Is it possible to randomize it? I think new public link created should be based on the date and sequential up to 100.
For example, link to the same file:
Curent Link: /public/1/image.jpg
Randomzied: /public/11141601/image.jpg
Is it possible to implement something like that?

2 Replies

Reply to Thread
Cem Alacayir Replied
Employee Post
FYI, this is now implemented in v7.7.5:
Improved: Public link urls will now include the hashed ID (letters and numbers e.g. …/y42/image.jpg) instead of the plain number ID (e.g. …/175/image.jpg). In previous versions, it was still secure even when a plain number ID was used because you would also need to know the exact file name in combination to guess the url. It was not possible to just increment the number and access possible public links from the database. However the new mangled/unguessable IDs will ensure the user that public links are actually secure. The previously created public links will be still be accessible via their same urls and they will keep working, the new type of urls will only be generated for newly created public links.
Thanks! Now a user won't know how many links have been shared.

Reply to Thread