|
Posted by C. on 10/01/07 10:09
On 29 Sep, 20:21, Michael Fesser <neti...@gmx.de> wrote:
> .oO(artev)
>
> >example that I want to do:
> >if I have this 3 files
> >MYSITE.com/index.php
> >MYSITE.com/one.php
> >MYSITE.com/two.php
>
> >I want that file two.php and file three.php aren't never accesible by url;
>
> Store them outside of the document root.
>
> Micha
Keeping the files outside the doc root is by far the most sensible
idea....but not always a practical one. If you can't access files
outside the document root, but can create .htacces files, you'll
probably find that the webserver is configured to disallow access to
any file beginning .ht - so renaming the files accordingly may have
the desired effect (e.g. MYSITE.com/.htone.php). This is a hack though
and reliant on the config not changing.
C.
Navigation:
[Reply to this message]
|