Soon to be added to the plugins directory netlify/plugins#110
Based on the fantastic CLI tool staticrypt, this plugin will encrypt your files with a password from your NETLIFY environment variables
npm i --s netlify-plugin-password-protection
[[plugins]]
package = "netlify-plugin-password-protection"
Deploy your Netlify Site!
[[plugins]]
package = "netlify-plugin-password-protection"
[plugins.inputs]
fileFilter = "*.html" # default
directoryFilter = ["!node_modules", "!admin", "!plugins"] # default
title = "Protected Page" # default
instructions = "" # default
View the Demo
- Default password is
P@SS-WORD
. - Overwrite with
process.env.PROTECTED_PASSWORD
- We use paulmillr/readdirp and pass both options
fileFilter
anddirectoryFilter
directly to choose which html files will be encrypted.
[License][MIT]
Made by Blair Anderson