Re: [PHP-DB] Files stored in mysql

2005-08-17 Thread Mark Cain
Here is one way to do it. It happens to be the way that I use for a group of folks that have authentication levels of access to pdf. I store all of the pdf files above the www folder. This keeps them out of prying eyes. You of course could store them in a database. the security levels for the

RE: [PHP-DB] Files stored in mysql

2005-08-17 Thread Bastien Koert
Assuming you make your users log in, you could simply limit the display to the users folder/clients...ie use a rep_id (or whatever you call it) as the main folder name. Then simply start reading the folder contents based on the rep_id folder being the base folder. Note that the folders and pdf