Re:Show HN: Password-protect a static HTML page
by dangom on Wednesday June 14, 2017 @01:06PM
(#14554131)
Doesn't the GitHub pages content itself live in a repository visible to all? One could just look up the password.
Or is it possible to have pages for private repos as well?
[ Parent
| on HN ]
Re:Show HN: Password-protect a static HTML page
by Darphe on Wednesday June 14, 2017 @01:16PM
(#14554220)
The passphrase wouldn't be included in the repo; that's the purpose of using client-side encryption.
Re:Show HN: Password-protect a static HTML page
by bluetidepro on Wednesday June 14, 2017 @01:33PM
(#14554380)
What Darphe said in their reply. But yeah, you can setup pages for private repos. That's mainly what I was thinking. I currently do that for a few projects. You can have a private repo and still use github-pages, it just obviously exposes the pages to the public technically (but not the repo code).