Skip to content

Page Level Encryption #465

@toddpi314

Description

@toddpi314

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature requestRequest to add a new featureversion: nextPlanned to do or already included in the next(1.0.0) version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions