Revokingpermissions
fromSybase Central Youcan revoke REMOTE permissions on Adaptive ServerAnywhere
databasesfrom Sybase Central.
Torevoke 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
thepopup menu.
Revokingpermissions in
AdaptiveSer ver
Anywhere
REMOTEand CONSOLIDATE permissions can be revoked from a user
usingthe REVOKE statement. Thefollowing statement revokes REMOTE
permissionfrom user S_Beaulieu.
REVOKE REMOTE FROM S_Beaulieu
DBAauthority is required to revoke REMOTE or CONSOLIDATEaccess.
Revokingpermissions in
AdaptiveSer ver
Enterprise
REMOTEpermissions can be revoked from a user using the
sp_revoke_remoteprocedure. This procedure takes a single argument,
whichis the user ID of the user. Thefollowing statement revokes REMOTE
permissionfrom user S_Beaulieu.
exec sp_revoke_remote ’S_Beaulieu’
go
Assigning permissions in multi-tier installations
Specialconsiderations are needed for assigning permissions in multi-tier
installations. The permissions in a three-level SQL Remote setup are
summarizedin the following diagrams. In each diagram one database is
shaded;the diagram shows the permissions that need to be granted in that
databasefor the user ID representing each of the otherdatabases. The phrase
“Nopermissions” means that the database is not granted any permissions in
theshaded database.
Thefollowing picture shows SQL Remote permissions, as granted at the
consolidatedsite of a three-tier installation.
208