Revoking permissions You can revoke REMOTE permissions on Adaptive Server Anywhere

from Sybase Central databases from Sybase Central.

To revoke REMOTE permissions (Sybase Central)

1.Open either the Users & Groups folder or the SQL Remote Users folder.

2.Right-click the remote user or group and choose Revoke Remote from the popup menu.

Revoking permissions in REMOTE and CONSOLIDATE permissions can be revoked from a user

Adaptive Server

using the REVOKE statement. The following statement revokes REMOTE

Anywhere

permission from user S_Beaulieu.

 

REVOKE REMOTE FROM S_Beaulieu

 

DBA authority is required to revoke REMOTE or CONSOLIDATE access.

Revoking permissions in REMOTE permissions can be revoked from a user using the

Adaptive Server

sp_revoke_remote procedure. This procedure takes a single argument,

Enterprise

which is the user ID of the user. The following statement revokes REMOTE

 

permission from user S_Beaulieu.

exec sp_revoke_remote ’S_Beaulieu’ go

Assigning permissions in multi-tier installations

Special considerations are needed for assigning permissions in multi-tier installations. The permissions in a three-level SQL Remote setup are summarized in the following diagrams. In each diagram one database is shaded; the diagram shows the permissions that need to be granted in that database for the user ID representing each of the other databases. The phrase “No permissions” means that the database is not granted any permissions in the shaded database.

The following picture shows SQL Remote permissions, as granted at the consolidated site of a three-tier installation.

208

Page 226
Image 226
Sybase DC38133-01-0902-01 Assigning permissions in multi-tier installations, To revoke Remote permissions Sybase Central