Deny access to themes?

Discussion in 'Apache' started by die4once1, Apr 16, 2010.

  1. #1
    How do I stop people stealing my template and theme files? I've stopped listing directories, but if i type the file name in people can steal my templates or themes. I'm running phpbb3.

    Thanks.
     
    die4once1, Apr 16, 2010 IP
  2. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    setup .htaccess to stop access unless referred. Hotlinking protection may help, not sure.
     
    FavouritesBlog, Apr 16, 2010 IP
  3. die4once1

    die4once1 Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know that, but whats the command?
     
    die4once1, Apr 16, 2010 IP
  4. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #4
    Make sure you realize that although you can make it more work for someone to rip the entire theme, it's not possible to prevent it from happening entirely, without preventing everyone from seeing the theme. Make sure you don't put more work into protecting a theme than it would take just to get something new.
     
    joebert, Apr 16, 2010 IP
  5. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Command for what? htaccess? There is no " command " there is a prefix and a function you can use.

    Google.com - .htaccess guide.
     
    FavouritesBlog, Apr 17, 2010 IP
  6. die4once1

    die4once1 Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Don't worry I just chmoded the files and that did it. Thanks for all the help.
     
    die4once1, May 2, 2010 IP