How to: Configure Target Services for Full Dialog Security (Transact-SQL)
uses dialog security for any conversation to a service for which a remote service
binding exists in the database that hosts the initiating service. When the database that hosts
the target service contains a user that corresponds to the user that created the dialog, then the
dialog uses full security.
To make sure that a target service uses dialog security, create a user the initiating service can
use to log in. For each initiating service, create a user and install the certificate for the initiating
user. A target service doesn’t use a remote service binding.
-
Create a user without a login.
-
Create a certificate for the user.
-
Make that user the owner of the target service.
-
Back up the certificate to a file.
-
Grant permission for the target service user to receive messages from the queue that the
target service uses.
- Provide the certificate and the name of the initiating service to the database administrator
for the remote database.
7
Note
The certificate must be encrypted with the master key. For more information, see.
7
Note
Only back up the certificate for this user. Don’t back up or distribute the private key
associated with the certificate.