• subscribe
June 21, 2007 12:00 AM

Protect UDM with Dimension Data Security

SQL Server 2005 Analysis Services' security model can help restrict access to Unified Dimensional Model objects and data
SQL Server Pro
InstantDoc ID #95998
Downloads
95998.zip

Parent-Child Dimensions
Parent-child dimensions present a special case for a couple of reasons. First, dimension data security with parent-child dimensions can't be applied on the dimension key attribute. That's why the Employee attribute hierarchy doesn't appear in the Attribute drop-down list when you attempt to set up dimension data security on the Employees dimension.

Second, allowing access to a given member in a parent-child hierarchy automatically grants access to the member's parents all the way to the root member(s). It this weren't the case, the user wouldn't be able to navigate to the member. To test this access, select the Kevin F. Brown member of the Employees attribute, and notice that Role Designer automatically selects his managers David M. Bradley and Ken J. Sanchez, as Figure 5 shows.

Steps to UDM Security
Setting and maintaining robust security policies is an essential task that every UDM administrator has to master. A database role can enforce security policies at different levels in the cube. Dimension data security restricts members of a role from seeing dimension members and their associated data by defining appropriate allowed and denied sets. Autoexists automatically propagates the security filter to all attribute hierarchies within the same dimension.

Consider enabling Visual Total when you need the aggregated values to include the contribution of the allowed members only and exclude denied members. Dimension data security with parent-child dimensions is applied at the parent attribute, and enabling a member enables access to its parents.

For links to more security resources, go to the "Analysis Services Security" Web page (listed in Related Resources).

Related Resources
Analysis Services Security, http://www.mosha.com/msolap/security.htm

"Default members, MDX Scripts, Security, KPIs and Perspectives," http://sqljunkies.com/WebLog/mosha/archive/2005/ 12/31/cube_init.aspx

"Introduction to Dimension Security in Analysis Services 2005," http://sqlserveranalysisservices.com/olappapers/ introductiontodimensionsecurityinanalysisservices2005.htm

"SQL Server 2005 Samples and Sample Databases," http://www.microsoft.com/downloads/details.aspx?familyid=e719ecf7-9f46-4312-af89-6ad8702e4e6e& displaylang=en



ARTICLE TOOLS

Comments
  • Sam Kane
    1 year ago
    Mar 24, 2011

    Here are this and some other articles on Analysis Services Dimension Security:
    <a href="http://ssas-wiki.com/w/Articles#Dimension_Security">
    http://ssas-wiki.com/w/Articles#Dimension_Security</a>

You must log on before posting a comment.

Are you a new visitor? Register Here