|
Posted by Julien Biezemans on 05/19/06 21:05
Jerry Stuckle wrote:
>
> Julien,
>
> The Apache configuration can help because Apache is handling the file://
> schema - and you can use it to restrict access, redirect from one
> directory to another, etc. However, fopen() does not use Apache - it
> goes straight to the OS, so Apache configuration restrictions will not
> affect it.
>
> Again, try alt.apache.configuration.
>
Thank you.
However I'm still not convinced that it will be of any help. In what
parts oh PHP does apache file:// scheme handling apply? I guess it
concerns includes/requires, stuffs like that? One of the main purposes
of what I'm asking is to restrict file accesses within the built-in PHP
XSLT processor and it makes use of the PHP stream system which is, like
you said, independent of apache.
I'm going to dig the apache docs though. But I doubt it will be my answer.
Thanks again,
Julien.
[Back to original message]
|