Rights Management for Sybase users

Source: Internet
Author: User
Tags sybase create database

Control user access to database objects, there are two types of permissions: Command permissions and Object permissions.

1. Command permissions

Create Database

Create Table

Create View

Create Procedure

Create rule

Create Default

Authorization and receipt of command rights:

Grant command permissions combination to Group name | user name | role

Revoke command rights combination from Group name | user name | role

2. Object permissions

Select

Update

Insert

Delete

Reference

Execute

Object permission authorization and collection right:

Grant object permissions combination on database object to public| Group name | user name | role

[With Grant Option]

Revoke object permissions combination on database object to public| Group name | user name | role

From public public| Group name | user name | role

[Cascade]

Examples of authorization and receipt:

◇grant Insert,delete on Employee

To User_1,group_1

◇grant Execute on Pro_culculate

to public

◇grant Select on Employee (emp_id,emp_name)

To User_3

◇grant all on Employee

To User_4

◇revoke Update on Employee (emp_id,emp_name)

From User_5

◇revoke Create table,create Rule

From User_6

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.