Skip to main content

1 post by Cody Sand

Adding Password Protection to 11ty Pages Using PageCrypt

When building static sites with Eleventy (11ty), you might occasionally need to password-protect certain pages. While static sites don't have built-in authentication mechanisms, we can implement client-side encryption using PageCrypt, a lightweight JavaScript solution that encrypts HTML content and requires a password to decrypt it.

Nov 12, 2024

Categories: ConfigurationHow to...

Get the blog by email (or RSS)

Powered by Buttondown