Re-LoaD,<br><br>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.<br>
<br>Further reading: <a href="http://httpd.apache.org/docs/1.3/vhosts/">http://httpd.apache.org/docs/1.3/vhosts/</a><br><br>Hope this helps somehow.<br>deav<br><br><div class="gmail_quote">On 7 April 2011 12:19, Re-LoaD <span dir="ltr"><<a href="mailto:reload@brum2600.net">reload@brum2600.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi All,<br>
would anyone know if it is possible for apache to only execute php files owned by one user or group..<br>
<br>
ie<br>
<br>
info.php owed by me would return the phpinfo page.<br>
<br>
and<br>
<br>
infonotmine.php would just return<br>
<br>
<?php<br>
<br>
phpinfo();<br>
<br>
?><br>
<br>
is that possible ? it would save me a 5417 load of work..<br>
<br>
Cheers<br>
Re-LoaD<br>
<br>
_______________________________________________<br>
Wolves LUG mailing list<br>
Homepage: <a href="http://www.wolveslug.org.uk/" target="_blank">http://www.wolveslug.org.uk/</a><br>
Mailing list: <a href="mailto:Wolves@mailman.lug.org.uk" target="_blank">Wolves@mailman.lug.org.uk</a><br>
Mailing list home: <a href="https://mailman.lug.org.uk/mailman/listinfo/wolves" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/wolves</a><br>
</blockquote></div><br>