I have a directory that contains many confidential PDF documents. If someone knew the file name, they could just go around my login system and view the file as if it were an image.
If I moved the directory from the document root, how would I show it to the user after logging in? I will need to return the requested file to the root directory of the document, but not sure how to do it.
If there are any other suggestions besides removing the directory from the root, I am also open to this. Thank.
tukar source
share