-   Debian (
-   -   Securing A directory? (

Spreegem 04-04-2005 11:20 AM

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 11:23 AM

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 11:48 AM

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

vharishankar 04-04-2005 09: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 12:55 PM.