Jump to content

Recommended Posts

Posted

i'm using squirrelmail as my mail programme, and i wanted to know whether turning the indexing off for sensitive directories (data, attachment), is going to improve my security - i think yes, or? somebody would actually have to know the whole pathname in order to get to a file, correct?

 

secondly, would this change the operation of any programme? ie squirrelmail? (eg if i turn off the indexing for its root)

 

thirdly, what are the appropriate CHMOD settings for sensitive directories - such that i am able to have access but no one else? obviously 777 is not the right one...

 

anybody?

thanks!

Posted (edited)

Hi,

 

To clear up any confusion:

 

If you don't want people to browse your files unless there is an index page present then:

 

Select the name of the folder in file manager and select "No Indexes" This will turn off indexing.

 

If you want people to see everything then instead select one of the other indexs option.

 

No, it should not effect squirral

 

755 is proberley the best universal one.

 

Jim

Edited by Jimuni
  • 3 weeks later...
Posted

stupid question jim, but about the indexing... are you absolutely sure?

cpanel says:

"If indexes are off, people will not be able to see what files are in a directory that lacks an index file. "

im confused...

Posted

Hi,

 

Right I have modified my own post above to make it clearer. We where both getting at the same thing, but I should have used the CPANEL wording!

 

Hope its now understandable!

 

Jim

Posted

ahhhhhh now you got me really confused! sorry must be one of those days.

lets put it this way:

 

1. i create a new directory , say http://redo.net/llama'>http://redo.net/llama'>http://redo.net/llamawith no index.htm page, but with only one other page, say test.htm

 

thus:

with indexing off, if i access just http://redo.net/llama, i will not be able to see anything

with indexing on, if i access just http://redo.net/llama,i will be able to see the test.htm file.

 

correct?

 

2. whether indexing is on or off, if someone tries to access a non-existant file, he will always get a 404 error

 

correct?

Posted

OK...Jim knows a LOT more than I do, but I'm going to take a poke at answering your question. That way when they tell me I'm wrong...I will learn!! :)

 

With indexing on or off, you can access any of your files if you type in the exact url. Thus, with indexing on or off, if you type in http://redo.net/test.htm'>http://redo.net/test.htm , you should be able to view your page.

 

With "no indexing" off, if you type in http://redo.net, since there is no index.htm file in the directory, a page will open that will list all the files in the directory.

 

With "no indexing" on, you will get a page cannot be found error.

 

2. whether indexing is on or off, if someone tries to access a non-existant file, he will always get a 404 error

I would say yes, this is correct.

 

Now...I hope I didn't confuse the issue more...and I hope I'm not way off base!!

Posted

From the help site:

 

Hiding a directory

 

Often we are asked "how can I hide the list list of files in a directory from people who try to access that directory?

 

 

Steps to protect a directory

 

1. Start up cPanel, go to the Access Menu, and click on Download/Upload Backup File

2. Click on 'Index Manager' option

3. Select which directory you wish to protect

4. Select 'No Indexes' from the list

 

Hiding the directory is not the same as hiding a file (i.e. the correct file will load when requested).

 

Tracy gets an A! :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...