I'm working on a website that allows users to be able to upload files. Each file could be linked to via a unique URL, e.g.
http://mysite.com/docs/4324fdf54f65487878788776876564724/456456878acd454bd454457877903631/file.pdf
The links would be sent only to people who would require them. But even if they did forward on the link to some one else, its no big deal about the file being visible to that person. It may well be sent to a person who is not logged in to the system and it still needs to be visible to them. The thing is that they should not be able to find other files easily by simply changing the URL. Given the length of the URL, I would think it unlikely a user would be able to find other documents, even under a brute force attack.
I've been looking at encrypting the files but in this case it probably adds an unnecessary load to the system and will require that ALL users log in to the system in order to provide a means of authenticating them.
How safe would you consider the URL to be? Would there be a need to encrypt the file or is the length of the URL enough to prevent a brute force attack discovering a file?
Thanks