SQL Server Security understanding.

Source: Internet
Author: User
Any securable can only be owned by a unique owner. This owner can do anything for it. Only the owner can see this object in SSMs; a principal (user/role) the securable can be accessed even if it is not the owner of a securable. However, if it is not the owner, the securable cannot be seen in SSMs; when selecting the owner relationship, you cannot click it again. The reason is that any securable must have one owner. simply canceling the selection of one owner does not explicitly specify another owner, so it is not allowed; schema can use permission to specify various permissions for all dB objects in its Schema (granularity only to schema) for different principal; principal (user/role) you can use securables to set various permissions for each dB object in a DB object or some dB objects (through schema) (the granularity is the lowest dB object ); Distribution of objects to people:Securable uses permission to allocate principal permissions; People allocate things:Principal uses the owner and securables methods to control securable permissions; Securable and principal are both database-level concepts: securable = any dB objectsprincipal = user/rolelogin obtains the internal Permission Logic of the database by ing to the DB user;
PS: SQL Server permissions hierarchy (Database Engine): http://msdn.microsoft.com/en-us/library/ms191465.aspx
Related Article

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.