.htaccess is slowing the website

Discussion in 'Security' started by ska_defender, Nov 27, 2009.

  1. #1
    Hello to all

    In Order to protect my template I am using .htacess that follows:
    Order Deny,Allow
    Deny from all
    PHP:
    But It slows my website to a great extent

    any other way to use .htacess??

    I dont know why its slowing my website
    I was using the same .htacess with the old template and it was fine
     
    Last edited: Nov 27, 2009
    ska_defender, Nov 27, 2009 IP
  2. papsyface

    papsyface Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That doesn't really make sense, it's an instant check that should return immediately. I wouldn't normally recommend security by obscurity, but you could try it. Create a blank index file, and then store all of the other files in a randomly named sub directory (make sure you have robots in both of them, in case by some chance a SE would find it). That way, browsing won't be possible and in theory, guessing filenames wouldn't really be either.

    The last sentence of your post really makes it sound like it's the template itself, and nothing to do with .htaccess.
     
    papsyface, Nov 28, 2009 IP