alpower / eleventy-staticrypt-example

Home Page:eleventy-staticrypt-example.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example repo to go with a tutorial on How to password protect a static site on Vercel, Netlify, or any JAMStack site

Warnings and things to be aware of

  • As encryption happens at build time for convenience, the password is stored in your package.json file, so this security is pointless if stored in publicly accessible repositories.
  • Anyone with access to your repository could see the password.
  • Keeping passwords in source control is a bad practice generally, but this is just meant to be a deterrent and a fun example.

About

eleventy-staticrypt-example.vercel.app


Languages

Language:HTML 96.6%Language:JavaScript 3.4%