ExpressionEngine 7.5 has been Released! Learn More!
What is a quick and easy way to password protect an EE template? It’s a form where I need the user to not be logged in to use it. But I don’t want the world to access it (and want to be a bit more confident than trusting robots.txt). I don’t need Fort Knox level security.
To avoid the long boring explanation..
a) form needs to be submitted, specifically, by not-logged-in user b) but somehow restricted otherwise (e.g. htaccess htpasswd - but that seems to protect physicall directories and not url ‘routes’)
Interested in learning more solutions or want to get to know other EE users? Read more about joining the slack here! Join Our Slack!
So the solution to this puzzle was a group effort. Rus was pretty sure it DID do URI routes, so a bit more experimenting was done and:
https://serverfault.com/a/532351/1090116
“10 Google results were in that category. 9 didn’t work” - HA!
And it was also decided the GB Gated Content add-on would likely do the trick as well.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.