[Wolves] PHP / APACHE Question

deav 00deav at gmail.com
Thu Apr 7 11:38:59 UTC 2011


Re-LoaD,

You could setup an apache virtual host (IP-based/FQDN based) with ties to a
single user that would only execute files owned by that user. This would
work by returning some 401 or 403 error if apache tries to read a file not
owned by the aforementioned tied single user.

Further reading: http://httpd.apache.org/docs/1.3/vhosts/

Hope this helps somehow.
deav

On 7 April 2011 12:19, Re-LoaD <reload at brum2600.net> wrote:

> Hi All,
>        would anyone know if it is possible for apache to only execute php
> files owned by one user or group..
>
> ie
>
> info.php owed by me would return the phpinfo page.
>
> and
>
> infonotmine.php would just return
>
> <?php
>
> phpinfo();
>
> ?>
>
> is that possible ? it would save me a 5417 load of work..
>
> Cheers
> Re-LoaD
>
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20110407/deed106b/attachment.htm>


More information about the Wolves mailing list