Replies: 3 comments 3 replies
-
Sorry, but in my cognition, the answer is no. I can give you a suggestion, write a password script for your website, and only enter a password can access the website |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Are you saying that you suggest I write a JavaScript code that requires a password and prohibits others from accessing the sites? Even if so, I think it's impossible to restrict the sites' resources because HTML would be provided when others access the sites. |
Beta Was this translation helpful? Give feedback.
-
@noraworld The feature you are after is not available to individuals. If you are trying to protect any sensitive information, please do not use client side code (e.g. JavaScript) like suggested above. This is not providing you any security. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I would like to publish GitHub Pages sites privately, but I'm not sure whether it's possible as individuals.
According to this document page, organizations that use GitHub Enterprise Cloud can publish sites privately. I would like to do the same thing with individual private repositories. What I want to do is that only people who have access to the private repository can visit the private GitHub Pages sites.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions