Sybase SQL Remote DC38133-01-0902-01 User Manual

Page of 485
Revoking permissions
from Sybase Central
You can revoke REMOTE permissions on Adaptive Server Anywhere
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
Adaptive Server
Anywhere
REMOTE and CONSOLIDATE permissions can be revoked from a user
using the REVOKE statement. The following statement revokes REMOTE
permission from user S_Beaulieu.
REVOKE REMOTE FROM S_Beaulieu
DBA authority is required to revoke REMOTE or CONSOLIDATE access.
Revoking permissions in
Adaptive Server
Enterprise
REMOTE permissions can be revoked from a user using the
sp_revoke_remote procedure. This procedure takes a single argument,
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