Access control to files for logged in users only using apache

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

 



Hello!

Where is the situation. I have a bunch of files (thousands) in a directory
structure which is accessible via direct url.

For example:

directory:

htdata/index.html
htdata/files
htdata/files/1/file1.dat
htdata/files/1/file2.dat
htdata/files/2/file3.dat
htdata/files/3/file4.dat

The poing is to make ONLY CERTAIN files avaible to users which
are logged in and qualified for access for the files.

For example: user john does logged in using apache auth scheme
and he is qualified (SOMEHOW. HOW to tell it to apache?)
for access to file2 and files4. After that this user can download them.
Access to all other files gives "forbidden".

Any idea?

--
Regards,
Artem



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux