Access restriction to processes #219
Replies: 1 comment 1 reply
-
This is already implemented but in a more implicit way. The one that creates the service, creates it in a manner that only the same user can connect to the service and all other users cannot. You can experiment with this by starting the publisher from the publish subscribe example with: cargo run --example publish_subscribe_publisher and the subscriber with another user like sudo -u another_user cargo run --example publish_subscribe_subscriber Then you get an error
So the other user does not have the access rights to subscribe to it. But I admit that this is not yet ready for production use. The error message should be more explicit, The plan for the feature is the following:
|
Beta Was this translation helpful? Give feedback.
-
I have spent some time researching on Iceoryx2 use cases, and design.
However, a question was raised, if the communication between the publishers and subscribers is secure;
Can any process connect as long as it knows the service name? Or is there any in-built mechanism in Iceoryx to authenticate which subscribers are allowed to access the data sent by the publisher?
An alternative is to use ACLs, but that could be an overhead.
Any insights would be appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions