NetXMS Support Forum

English Support => General Support => Topic started by: commando on January 21, 2025, 05:17:50 AM

Title: Public Access for a map
Post by: commando on January 21, 2025, 05:17:50 AM
Good day!
I have newest netxms server running on an Ubuntu server, and using postgre background DB.
I just find the interesting feature in the netxms management client, I can enable the public access to others, I have interesting use it.
I have few questions,
what else software packages do I need to install? Except netxms-server, I did not try/install others before.
Could these software be installed on other server, not the same netxms one?

Thanks for help!

Br,
Mika Chu
Title: Re: Public Access for a map
Post by: Filipp Sudanov on January 21, 2025, 12:17:42 PM
Hi!

You need web UI for this feature, pls see installation manual here: https://www.netxms.org/documentation/adminguide/installation.html#web-management-client
Title: Re: Public Access for a map
Post by: commando on January 21, 2025, 03:54:19 PM
Hello Filipp,
Sorry about my question, I thought answer could be in the configuration, not in the installation section.

Thanks for help!

Br,
Mika Chu
Title: Re: Public Access for a map
Post by: Filipp Sudanov on January 22, 2025, 11:22:52 AM
I mentioned installation docs in relation to how install the web UI. And, by the way, public maps are also possible with desktop UI, as it's possible to start it from command line, specifying authentication token and map id, but it's probably quite rare use case.

Now more details on the configuration:

Performing "Enable public access..." on a map actually does two things:
- issues/gets authentication token for user "anonymous"
- adds read access right for "anonymous" user to given map

This, however, does not give access to objects present on map to user "anonymous" - the map will be displayed, but objects will have no names and will have question mark instead of object icons.
So we need to fix that and there's access right created specially for that - Delegated read. It allows access to a limited subset of object properties (basically name and status) and only if that object is referenced in a map to which "anonymous" has read access. So you can just give Delegated read to "anonymous" for Infrastructure services (and may be also to Entire Network, if your map displays subnets).

This should be it for configuration, pls give an update if this works for you. We plan to update documentation with this info.
Title: Re: Public Access for a map
Post by: commando on January 26, 2025, 04:56:29 AM
Hi Filipp,
We had difficult let the WebUI work during last few day, we did not use tomcat before.
Anyway, from your words, I understand why the map could not share to other user in desktop app - did not grant read permission to the object.
Appreciate your kindly explaination!

Br,
Mika