Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Level Encryption #465

Closed
toddpi314 opened this issue May 17, 2018 · 3 comments
Closed

Page Level Encryption #465

toddpi314 opened this issue May 17, 2018 · 3 comments
Labels
type: feature request Request to add a new feature version: next Planned to do or already included in the next(1.0.0) version

Comments

@toddpi314
Copy link

toddpi314 commented May 17, 2018

Wanted to seed up a recipe:

  1. Install staticrypt
  2. After vuepress build, run find <<dist>> -type f -name "*.html" -exec staticrypt {} mypassword \; on your dist folder

This creates stand-alone encrypted pages that require password on each refresh. This works well to lock down a Github Pages deployment.

This technique seems to be compatible with all of the various deployment environments supported and could potentially be an option on the config API down the road (relative to deployment types that support it).

Enjoy!

@ulivz
Copy link
Member

ulivz commented May 18, 2018

LGTM, but we don't plan to add built-in support for it. it seems to be something that should be done by a plugin.

@ulivz ulivz added type: feature request Request to add a new feature version: next Planned to do or already included in the next(1.0.0) version and removed plugin scope labels Aug 20, 2018
@hambern
Copy link

hambern commented Mar 21, 2019

If tried using Staticrypt to encrypt one of my folders. It works great. But if I access the page through the search box it doesn't require a password. I guess it's because the page is loaded from javascript. How can this be handled?

@syffs
Copy link

syffs commented Aug 1, 2019

@ulivz could you please advise whether this is now supported (even with a plugin) ?

This could be a great feature to be able to lock a WIP vuepress...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request Request to add a new feature version: next Planned to do or already included in the next(1.0.0) version
Projects
None yet
Development

No branches or pull requests

4 participants