From: J�rgen Exner on
Geoff <geoff(a)invalid.invalid> wrote:
>I would like website users to be able to have access to the files in
>any combination of folders.
>
>Say there are 20 folders, each with different files in them. User A
>needs access to files in folders 1, 2 and 3, user B access to files in
>folders 7, 10, 15 and 20 and so on.
>
>Now I know I can have a .htaccess file in each folder but that would
>mean giving user A three different user name and password
>combinations, user B four different combinations.

Do you have a question that is related to Perl, too?

jue
From: Geoff on
On Fri, 11 Jun 2010 04:34:53 -0700, J�rgen Exner
<jurgenex(a)hotmail.com> wrote:

>Geoff <geoff(a)invalid.invalid> wrote:
>>I would like website users to be able to have access to the files in
>>any combination of folders.
>>
>>Say there are 20 folders, each with different files in them. User A
>>needs access to files in folders 1, 2 and 3, user B access to files in
>>folders 7, 10, 15 and 20 and so on.
>>
>>Now I know I can have a .htaccess file in each folder but that would
>>mean giving user A three different user name and password
>>combinations, user B four different combinations.
>
>Do you have a question that is related to Perl, too?

yes, in the sense that I am looking for an alternative to the use of
..htaccess, and this could be Perl. PHP or Javascript.

Cheers

Geoff

>
>jue
From: J�rgen Exner on
Geoff <geoff(a)invalid.invalid> wrote:
>On Fri, 11 Jun 2010 04:34:53 -0700, J�rgen Exner
>>Do you have a question that is related to Perl, too?
>
>yes, in the sense that I am looking for an alternative to the use of
>.htaccess, and this could be Perl. PHP or Javascript.

....or C or Lisp or Fortran or Haskell or any other of hundreds of
programming languages.....
That doesn't make your question a C or Lisp or Fortran question.

jue
From: The Natural Philosopher on
Marious Barrier wrote:
> On 06/10/2010 06:54 PM, Geoff wrote:
>> Hello
>>
>> I would like website users to be able to have access to the files in
>> any combination of folders.
>>
>> Say there are 20 folders, each with different files in them. User A
>> needs access to files in folders 1, 2 and 3, user B access to files in
>> folders 7, 10, 15 and 20 and so on.
>>
>> Now I know I can have a .htaccess file in each folder but that would
>> mean giving user A three different user name and password
>> combinations, user B four different combinations.
>>
>> Is there a better way?!
>>
>> Cheers
>>
>> Geoff
>
> I would handle everything through PHP.
and mysql.

Stick the files in a database, where you can create any sort of access
controls you want.

From: Geoff on
On Fri, 11 Jun 2010 19:04:33 -0700, J�rgen Exner
<jurgenex(a)hotmail.com> wrote:

>Geoff <geoff(a)invalid.invalid> wrote:
>>On Fri, 11 Jun 2010 04:34:53 -0700, J�rgen Exner
>>>Do you have a question that is related to Perl, too?
>>
>>yes, in the sense that I am looking for an alternative to the use of
>>.htaccess, and this could be Perl. PHP or Javascript.
>
>...or C or Lisp or Fortran or Haskell or any other of hundreds of
>programming languages.....
>That doesn't make your question a C or Lisp or Fortran question.

OK - so which group should I have asked the question?!

Geoff



>jue