Controlling file access with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Problem: I have db with users, groups, passwords and permissions. I need to restrict access to some files for general public, but allow certain groups to download those files. Access restrictions should be based on permissions in the database.

I can set_time_limit() to a very big number, output file header, read file through PHP and output it through PHP, but that's not a very elegant solution.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux