Re: [PHP] Setting permissions such that file can be included but not open directly

2005-04-18 Thread Dasmeet Singh
Kim Madsen wrote: -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:43 PM To: 'Dasmeet Singh'; php-general@lists.php.net Subject: RE: [PHP] Setting permissions such that file can be included but not open directly directly to private/includefi

RE: [PHP] Setting permissions such that file can be included but not open directly

2005-04-17 Thread Kim Madsen
> -Original Message- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 9:43 PM > To: 'Dasmeet Singh'; php-general@lists.php.net > Subject: RE: [PHP] Setting permissions such that file can be included but > not open directly > > > di

Re: [PHP] Setting permissions such that file can be included but not open directly

2005-04-15 Thread Philip Hallstrom
I use a page to authorize a user and based on certain criterias (user group etc) include a file in another directory (named private)... Everything is working fine but the problem is anyone goign directly to private/includefile.php can run the script without authorising themselves... Is it possi

Re: [PHP] Setting permissions such that file can be included but not open directly

2005-04-15 Thread Marek Kilimajer
Dasmeet Singh wrote: Hi! I use a page to authorize a user and based on certain criterias (user group etc) include a file in another directory (named private)... Everything is working fine but the problem is anyone goign directly to private/includefile.php can run the script without authorising

RE: [PHP] Setting permissions such that file can be included but not open directly

2005-04-15 Thread Mike
> directly to private/includefile.php can run the script > without authorising themselves... > > Is it possible to set folder permission such that files > inside it cant be open directly but could be included? Can you just give read permissions -only- to the user that PHP runs as and not these

[PHP] Setting permissions such that file can be included but not open directly

2005-04-15 Thread Dasmeet Singh
Hi! I use a page to authorize a user and based on certain criterias (user group etc) include a file in another directory (named private)... Everything is working fine but the problem is anyone goign directly to private/includefile.php can run the script without authorising themselves... Is it p