
Originally Posted by
lemon-tree
create a new folder and set the permissions to deny access from 'world'.
Won't work on X10, since the server process runs with your user credentials. You could use the Order directive to deny access to specific directories. You'd also better configure Apache to return a 404 response rather than a 403 to hide the directory's existence. In the directory's .htaccess file, put:
Code:
Order allow,deny
RedirectMatch 404 ^
Now that I think about it, the Order directive is unnecessary. The redirect is sufficient.
In any case, placing the files outside the web folder hierarchy is the simplest and conceptually cleanest approach.