I have to generate roughly 18,000 PDFs that contain sensitive information. The PDFs will be served up through a web application to the end users. Obviously, some users need to see more reports than others. The two ways I'm thinking of serving up the PDFs are physically saving each PDF to a directory under the web application or storing the PDF in the database. The PDFs need to be viewable only by those authorized and I don't want users to guess URLs to see other users information. But I'm a little hesitant to put this information in a database.
Is one way preferred over the other?