You are here: Controlling file access with PHP « PHP « IT news, forums, messages
Controlling file access with PHP

Posted by GamblerZG on 04/08/05 20:03

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация