Re: [PHP] set different .htaccess rules

2010-07-15 Thread kranthi
i would use a single point of entry to solve this problem 1. keep the files outside your doc root 2. in the php file files.php check for an authorized user, if so allow the user to download the file the path http://site.com/files/we23h4hk234hjksdjrjkl23jfasdf will actually be http://site.com/files

RE: [PHP] set different .htaccess rules

2010-07-15 Thread Tommy Pham
> -Original Message- > From: Dušan Novaković [mailto:ndu...@gmail.com] > Sent: Thursday, July 15, 2010 7:46 AM > To: php-general@lists.php.net > Subject: [PHP] set different .htaccess rules > > Hello all, > > I have problem with protecting files inside of fo

[PHP] set different .htaccess rules

2010-07-15 Thread Dušan Novaković
Hello all, I have problem with protecting files inside of folder. So, I have one folder with files inside and the idea is to be able to see those files (format is not important) only when you are logged in system. I can't use solutions like to set some wierd name so that actually user is hardly ab