Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is it possible to limit user access using a HTACCESS file? I'm not quite sure how to edit folder permissions with the host i'm with so I figure using an HTACCESS file might be easier.

share|improve this question

migrated from stackoverflow.com Aug 23 '11 at 22:43

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Assuming the host has support then you need this line.

deny from all

Related: http://httpd.apache.org/docs/2.0/mod/mod_access.html

share|improve this answer
    
thats cool, is there a deny from some? –  Howdy_McGee Aug 23 '11 at 15:59
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.