Does anyone know of a way to password protect an Omeka Classic site? I see there was a thread on this several years ago, but I didn’t see a resolution. I tried creating an .htpasswd and .htaccess file to no avail. Any thoughts?
The .htaccess method works. You might share what you tried and what specifically happened when you tried it.
Thanks. I guess it might help me understand better if I need to create a new .htaccess file or do I add to the script of the .htaccess file in the omeka-3.1.2 folder? I initially created a new .htaccess file and I think that’s where I went wrong, unless it should be one level higher in the html folder?
Typically you’d add to the existing one.
Thank you! Now I was able to get it to work. Do you know of any way to set a time limit before someone would have to relogin?
I don’t. The “Basic” auth you’re probably using is pretty simple so you don’t have a ton of control over that kind of thing: if the browser is sending the right Authorization header then they’ll able to view the site.