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

file protection

Discussion in 'XenForo Questions and Support' started by puertoblack2003, Oct 22, 2010.

  1. Can i use htaccess to protect the admin.php?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you want to.
    It's not required though.
     
    puertoblack2003 likes this.
  3. thank you yes i just have this thing about these kiddie hackers.
     
  4. DSF

    DSF Well-Known Member

    My protect in htaccess
    Replace xxx.xxx.xxx.xxx with your IP

    Code:
    # Protect admin.php
    <files admin.php>
    Order deny,allow
    Allow from xxx.xxx.xxx.xxx
    deny from all
    </files>
    
     
    puertoblack2003 likes this.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    As long as people are aware that only works if they have a static IP address :)
     
    puertoblack2003 likes this.
  6. DSF

    DSF Well-Known Member

    Yes, of course ... or you correct it any 24h if required ;)
     
    puertoblack2003 likes this.
  7. thank you guys :)
     

Share This Page