Sign up ×
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 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


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

Your Answer


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.