Is there a quick way to add basic auth to a single site in a multisite environment?
d
I'm looking to quickly protect a single website in a multisite environment because it is still a work-in-progress. I'm trying out the basic auth settings in the Umbraco config, but they don't even seem to prevent the page load and seems to work very inconsistent, and it doesn't have an option to limit to a specific site. I have no desire to set up the whole members login, just to hide the site until it's finished. Using Umbraco 10.6.1
s
Don't know much about basic auth, but member login is pretty easy to add especially since we have macro snippets that create a login form for you 🙂
d
You have a point. I was just hoping I could fix it with a few lines of config or some flag in code.
s
Now it's just a few content nodes with a macro slapped on it 😉