LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-04-2005, 11:20 AM   #1
Spreegem
Member
 
Registered: Mar 2005
Posts: 42

Rep: Reputation: 15
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
 
Old 04-04-2005, 11:23 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
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.
 
Old 04-04-2005, 11:48 AM   #3
Spreegem
Member
 
Registered: Mar 2005
Posts: 42

Original Poster
Rep: Reputation: 15
I mean like a directory accessable from the internet on my server.
 
Old 04-04-2005, 09:49 PM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
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.

Last edited by vharishankar; 04-04-2005 at 09:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Securing MySQL int0x80 Linux - Security 7 11-23-2005 05:47 PM
Securing a website directory with ssl? Doctor Doom Linux - Software 1 10-10-2005 06:58 PM
securing vsftp dshafi Linux - Security 3 08-31-2004 07:31 PM
securing ssh robberttheman Linux - Security 8 08-27-2004 07:36 AM
Securing Apache v2 markus1982 Linux - General 0 01-14-2003 08:03 AM


All times are GMT -5. The time now is 01:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration