Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I understand that .htaccess is not supported by GitHub Pages. I wonder if there is an alternative for password-protecting particular directories for websites hosted by GitHub Pages.

share|improve this question

migrated from superuser.com Nov 20 '12 at 10:58

This question came from our site for computer enthusiasts and power users.

add comment

1 Answer 1

Unfortunately, GitHub pages only supports static pages. There is no way to make it execute server-side code and thus it's impossible to protect your pages with any kind of authentication scheme. If you expand further on why you need to password-protect your pages, maybe I can help you find a workaround.

share|improve this answer
add comment

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.