Optionalallowfalse removes anonymous access for this URL (default: inherit from main endpoint); true cannot add it
OptionalsecurityRestrict security modes (default: inherit from main endpoint); modes the main endpoint lacks are ignored
OptionalsecurityRestrict security policies (default: inherit from main endpoint); policies the main endpoint lacks are ignored
The full endpoint URL, e.g. "opc.tcp://public.example.com:4840"
OptionaluserRestrict user token types (default: inherit from main endpoint).
This list can only restrict the main endpoint list: token types that the main endpoint does not allow are ignored (with a warning).
note: all URLs of a listener share the same socket and the server
cannot verify which URL a client really used, so this restriction
guides well-behaved clients but is not an authentication boundary:
a client that presents the main URL gets the main list. To enforce a
different list, give it its own listener (endpoints: [{ port, userTokenTypes }]).
Per-URL security restrictions for advertised endpoints.
All advertised URLs share the listener's socket: an entry can only make its URL stricter than the main endpoint, and it only binds clients that present that URL (a client presenting the main URL gets the main settings). See documentation/advertised_endpoints.md, "Security Model".
When
advertisedEndpointscontains a config object, the endpoint descriptions generated for that URL use the overridden security settings instead of inheriting from the main endpoint.Any field that is omitted falls back to the main endpoint's value.
Example