mirror of https://github.com/dapr/docs.git
Update daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-scopes.md
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: kovalromank <romankoval10@gmail.com>
This commit is contained in:
parent
69b95b790d
commit
2a418ed7fe
|
|
@ -157,7 +157,7 @@ The table below shows which application is allowed to subscribe to the topics:
|
|||
|
||||
## Example 4: Mark topics as protected
|
||||
|
||||
If your topic involves sensitive data, each new application must be explicitly listed in the `publishingScopes` and `subscriptionScopes` to ensure it cannot read from or write to that topic. Alternatively, you can designate the topic as 'protected' and grant access only to specific applications that genuinely require it.
|
||||
If your topic involves sensitive data, each new application must be explicitly listed in the `publishingScopes` and `subscriptionScopes` to ensure it cannot read from or write to that topic. Alternatively, you can designate the topic as 'protected' (using `protectedTopics`) and grant access only to specific applications that genuinely require it.
|
||||
|
||||
Here is an example of three applications and three topics, two of which are protected:
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Reference in New Issue