I’m creating an interactive book, and I’m authoring the content as a static site. I want to use Netlify to deploy the book, but I’m having a hard time figuring out how I can lock some chapters so that the user has to pay before they have access.
Netlify’s Role Based Access looks perfect, as it would allow me to handle the authentication with Netlify, then write my redirects based on JWT roles (which I could edit after receiving payment). The problem is that I can’t use this feature unless I shell out $1500/month (!!!) for a Business plan.
The only other solution I can think of would be to put a proxy in-front of the static site content and redirect requests based on authorization. It seems a shame to move a static site away from a CDN and serve it like that. I’m not even sure that I’d be able to do this with Netlify either.