File Permission Question - Need Answer Quick

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fat Panda
    Porn is Dead. Move along.
    • Aug 2006
    • 13296

    #1

    File Permission Question - Need Answer Quick

    What file permissions do i set my folders to if i want my pictures to show up on my blog but i dont want someone to be able to directly surf my wordpress upload folder for just pictures....

    thanks
  • heymatty
    Confirmed User
    • Oct 2001
    • 2188

    #2
    Its not file permissions. Ask your host to help.

    Cashlantis ~ Black Book Cash

    Comment

    • GrouchyAdmin
      Now choke yourself!
      • Apr 2006
      • 12085

      #3
      CHMOD 771 if owner is you:you.
      CHMOD 711 if owner is you:group

      If you upload through WordPress, though, you'll probably need to keep it at 777.

      In this case, add that directory to your robots.txt exclude and put up a dummy index page:

      <?php
      header("location: /");
      ?>
      Last edited by GrouchyAdmin; 10-08-2007, 08:55 PM.

      Comment

      • Fat Panda
        Porn is Dead. Move along.
        • Aug 2006
        • 13296

        #4
        thanks thats what i did...i put up a dummy index page

        Comment

        Working...