For quite a while now, I've been developing a site to give a client access to PDF files that contain banking information. In the past I've avoided putting the files online, and instead have supplied them CD/DVDs for them to access, but they are pushing me to develop a section of the website to allow them to find and view/print/download these PDF files.
Is there a way to secure these downloads? My first thought was to create a directory above the web root directory and put all the PDFs in there, then store the file names in a database, so when they search for a file, it will locate the filename and then I could use an anchor tag to allow them to download the file.
This method does not seem very secure to me, even if I have an SSL and ensure that the user is logged in, because the path could be picked up easily and the filenames are sequential numbers like 52727-VF.pdf, 52728-MF.pdf... the initials are employee's initials, which probably wouldn't be hard to figure out, especially if it's a former disgruntled employee trying to hack the site.
Any suggestions of a way to secure these downloads would be greatly appreciated.
Thanks
Brian