Locking parts of the Sitemap with a password?

Hello OpenHAB community
Is there a way to lock a sitemap (or even better: parts of a Sitemap) with a password? (doesn’t have to be encrypt or anything, just a simple login or something similar)
The question came in my mind after implementing the Wake-On-Lan function but I don’t want any other Person (or russian Hackers lol) to be able to turn On/Off my Devices.
Thanks
Nico F.

There is nothing native to OH that lets you do this.

You can set up a reverse proxy and set up separate sitemaps and add authentication to one of them by adding a separate location entry (in the case of Nginx).