Can I block access via .htaccess instead of protect directories by password ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijito
    New Member
    • Oct 2012
    • 8

    [Forum] Can I block access via .htaccess instead of protect directories by password ?

    I saw the secure your forum thread at quick tips forum.

    My questions is can I use the block IP and allow only my IP to access that particular directories instead of using .htpassword ? I have a static IP from my ISP.

    Password protect the following directories using .htaccess/.htpassword: admincp, modcp, install, includes, packages, vb. You can find instructions here:
  • Riasat
    Senior Member
    • Aug 2006
    • 4013

    #2
    order deny,allow
    deny from all
    allow from w.x.y.z

    probably this will work.

    Comment

    Related Topics

    Collapse

    Working...