The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Avoiding public access to subfolders

Discussion in 'General Discussion' started by zopm, Jun 3, 2003.

  1. zopm

    zopm Registered

    Joined:
    Jun 3, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Alright, go easy on me as I'm very new to this.
    Essentially I am i the process of setting up my site, however, I still lack the understanding of the directiory and index manager system
    When someone goes to my site at the moment, i dont have an index.html setup. So basically everyone has access to all the files I have on the public_html directory.
    So I have 2 questions.
    1. If I simply setup a small index.html , can people still acces my directories and subdirectories.
    2. Can the same effect be achieved by simply creating a subfolder in public-html and transferring all my files to that folder,-and then setting up a index for that folder in index manager.

    Is that right, any help in understanding would be really appreciated.
    Thankyou

    cPanel.net Support Ticket Number:
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You can use .htaccess or an index.html, both will prevent the directory listing.

    cPanel.net Support Ticket Number:
     
  3. NittyGritty

    NittyGritty Registered

    Joined:
    Jun 5, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    But I thought Index Manager was supposed to do stuff like this... at least, that's what I got from reading all the different little cpanel manuals I could find online.

    If I hit the radio buttons for standard indexing (text only) or fancy indexing (graphics) on each of my subfolders, I thought it would prevent browsers from viewing the contents of that directory. The browser is supposed to receive a 403 (Forbidden) error instead of a listing of all the files, right?

    At least, that's what the manual says. I've been hitting that darn radio button and saving changes all day, but I can still see a listing of all my files in each particular directory when I refresh the screen. :confused:

    In fact, that's exactly why I came here, to find some help!

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  4. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    No Indexes

    cPanel.net Support Ticket Number:
     
  5. NittyGritty

    NittyGritty Registered

    Joined:
    Jun 5, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply!

    No indexes? But this is directly from the CPanel 5 User Guide 1.01:
    CPanel 5 User Guide 1.01

    This is why I need a good manual. Any recommendations?

    cPanel.net Support Ticket Number:
     
  6. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    Quoted out of cPanel Index Manager....

    "The index manager will allow you to turn indexes on or off for a directory. If indexes are off, people will not be able to see what files are in a directory that lacks an index file."

    Just try it...
     
  7. NittyGritty

    NittyGritty Registered

    Joined:
    Jun 5, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Okay, I tried it. It says my changes have been updated, and "Indexes are now Off."

    But when I type in the URL for that folder, I get the indexed list of files again, even when I refresh the screen.

    Are changes not immediate? Do I have to wait 24 hours or something?

    cPanel.net Support Ticket Number:
     
  8. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    Immediate - maybe add a support ticket with your host?

    cPanel.net Support Ticket Number:
     
  9. NittyGritty

    NittyGritty Registered

    Joined:
    Jun 5, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Support ticket... support ticket...

    Okay, I just looked everywhere on my menus but don't see anything about support tickets. Yegad, I am such a newbie...:rolleyes:

    I did e-mail my host but haven't received a response yet. I thank you for your help and want to ask you yet another question:

    What manual do you recommend? There are a ton out there (and you just showed me how that "CPanel 5 User Guide 1.01" isn't exactly the most accurate thing).

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page