17.07.2015 Views

Download eBook (PDF) - Red Gate Software

Download eBook (PDF) - Red Gate Software

Download eBook (PDF) - Red Gate Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3 – Schema Architecture StrategiesPlease note that the HomeLending database schema does not reflect thespecific cross database architecture shown in Listing 3-1. It is offered only asan example of this approach.Using Database Object SchemasThroughout this chapter the word "schema" has been used as a general term todescribe the database architecture and its objects. However, in SQL Server theterm schema, or more formally Database Object Schema, refers to thenamespace, or container, in which database objects reside. Inside the databaseobject schemas are database objects, such as tables, views and storedprocedures, which can be grouped together logically. This offers a way toorganize your database objects and control access to them at a group level.When a user is denied access to a database object schema, they cannot view oraccess any of the database objects within it. This offers a level of obscurity toportions of the overall database schema design and can be used to separatehighly sensitive data from less sensitive data. Figure 3-8 illustrates how a usermay have access to one database object schema, in this case the defaultdatabase object schema of dbo, while being denied to all objects within anotherdatabase object schema, here, the Income_Schema database object schema.Figure 3-8: A user with permissions to the default database object schema whilebeing denied access to the Income_Schema database object schema.70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!