QuestionQ188

VerifiedImplement Azure security

You are creating a loyalty program for a large snack manufacturer. When customers purchase a snack at any of 100 participating retailers, the event is recorded in Azure Event Hub. Each retailer receives a unique identifier that serves as the primary identifier for the loyalty program.

Retailers must be able to be added or removed at any time. A retailer must be able to record sales only for itself.

You need to ensure that retailers can record sales.

What should you do?

Explanation

Azure Event Hubs publisher policies provide granular control for many independent publishers. Each publisher uses a unique identifier, and the publisher name must match the SAS token used for authentication; consequently, assigning each retailer its identifier as its publisher identity restricts it to publishing its own sales. Partitions organize event streams and namespaces provide broader resource scoping, neither of which enforces publisher-specific sending rights.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!