-   Debian (
-   -   Securing A directory? (

Spreegem 04-04-2005 12:20 PM

Securing A directory?
How would I secure a directory so that when people try to get into it, it will give them the 403 error, 403: Forbidden? Or just so that it looks like there's nothing in the directory, something like that. Thank You in advance

vharishankar 04-04-2005 12:23 PM

If you mean your user home directory then change the permissions using chmod or KDE file manager.

By default, Debian permission for user home directories and super user directory are not great and they allow everybody to view the contents by default.

Spreegem 04-04-2005 12:48 PM

I mean like a directory accessable from the internet on my server.

vharishankar 04-04-2005 10:49 PM

Use the .htaccess files to selectively deny access to individual directories when using Apache web server.

See the Apache htaccess tutorial for reference on using this file.

All times are GMT -5. The time now is 06:38 PM.