1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to hide files on my site

Discussion in 'White Hat SEO' started by gragster, Aug 10, 2008.

  1. gragster

    gragster Regular Member

    Joined:
    May 24, 2008
    Messages:
    231
    Likes Received:
    38
    Hey guys I got a newb question. Im using cpanel how can I keep people from going to my main domain and being able to see all my files. I dont want them to see them unless they know the location. Thanks.

    Any help is greatly appriciated.
     
  2. sidddd

    sidddd Power Member

    Joined:
    May 15, 2008
    Messages:
    749
    Likes Received:
    460
    Use ftp friend... download Filezilla free ftp software and login,now make a new directory and upload files :)
     
  3. gragster

    gragster Regular Member

    Joined:
    May 24, 2008
    Messages:
    231
    Likes Received:
    38
    disregard I found it you turn off indexing in cpanel
     
  4. xcubic

    xcubic Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 24, 2008
    Messages:
    440
    Likes Received:
    582
    Location:
    Internet
    Or you can code a robots.txt file or put a blank html file in each directory where you have files.
     
  5. chriswatt

    chriswatt Newbie

    Joined:
    Aug 10, 2008
    Messages:
    9
    Likes Received:
    1
    i agree with xcubic. robot.txt with nofollow is the way to go
     
  6. siberia77

    siberia77 Registered Member

    Joined:
    Aug 8, 2008
    Messages:
    68
    Likes Received:
    8
    agreed :) .
     
  7. catman08

    catman08 Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    171
    Likes Received:
    109
    Occupation:
    IM
    Location:
    Europe
    be carefully with the robot.txt ... you can enter this file in your browsers url and then see all the places the SE is not supposed to go to. If you add your hidden locations in there then people just figured them out right away.

    P.S. One way to get free downloads :-D
     
  8. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    upload an .htaccess file in the folder you don't want to have indexes enabled on with the content below:
    Code:
    Options -Indexes
    
    alternatively you could upload a blank index.html/php file..
     
  9. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    that will only stop search engines from indexing the directory. He's talking about the default action of browseable directories when there's not an index.html/php file.