I'm developing a web app that is going to have many files for news, photo galleries, users, products...also PDF documents associated to database records.
I'm going to store the images & docs in folders in the server and I'm wondering if it is a good practice or it is not necessary to encrypt those files & folders.
So, for example, for a photo gallery , let's say GalleryId = 233
, I'm going to create the folder "~/Files/Galleries/233/"
and store all the photos inside.
Also for a certain document, let's say "DocId = 22"
, I'd need the root "~/Files/Docs/22.pdf"
...
Would it be necessary to encrypt those numbers so the users don't see the real Ids and see something like "aR2wdwewei"
...?
Waste os time? Better to encrypt? Pros and cons?
Thanks in advance.