Hacker News new | ask | show | jobs
by ceearrbee 432 days ago
This is very neat! However, it appears there is no way to have a "user" and an "admin" mode? As of right now, it looks like if anyone loads the page they can edit and move all the objects on the map?

Is there a way to lock it down?

1 comments

How to Set Up Password Authentication with Apache2 You can protect a specific directory on your Apache web server by requiring users to log in with a username and password. This is useful for restricting access to internal tools like MapStruct, admin panels, private pages, or staging environments.

Prerequisites Apache2 is installed and running

You have terminal (SSH) access to the server

The directory you want to protect already exists (e.g., /var/www/html/map)

So there is no built in "public view"? How disappointing.
I will make this in next version.