Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed


follow us on Twitter





Brocade Doubles Down on 16 Gbps Fibre Channel

Microsoft Wants iOS Apps to Run on WP7

Avaya Debuts New Virtual Services Switch
Database Journal |DBA Support |SQLCourse |SQLCourse2







Technical Specialist – Pre-sales (MA)
Next Step Systems
US-MA-Littleton

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

December 11, 2002

Introduction to SQL Server 2000 Analysis Services: Exploring Virtual Cubes - Page 7

By William Pearson


Creating a Virtual Cube to Control Presentation and Augment Security

We mentioned earlier that another strength of a virtual cube lies in its capacity to act as an adjunct to an overall security strategy. This attribute makes a virtual cube useful when a part (or parts) of a cube's information is (are) sensitive and not suitable for all users. A virtual cube (which, as we have seen, we can easily create from an existing cube) provides a means of omitting the sensitive information.

We can then create two security roles: the first role containing the users permitted to see the sensitive information, and the second containing the remaining (disallowed) users. We then simply grant the first role access to the original (full) cube and the second role access to the virtual cube. In this manner, both sets of information consumers have access to the information they need to perform their respective functions but are restricted from, or given access to, the sensitive data as is appropriate.

First, let's set the stage with a realistic scenario: The Warehouse cube (another of the sample cubes that are put in place with the Typical Analysis Services implementation) contains six cube dimensions, a larger number of shared dimensions, and seven measures. Let's say we want to present the general information in the cube to two general sets of information consumers: those who are allowed to see all data (we'll call them the Corporate group); and those (the Operations group) who are allowed to see only enough of the operational data to complete their daily tasks (the cost and logistic information), but who do not need to be concerned with the revenue information (which we will assume for our immediate purposes to be included in the Store Invoice, Warehouse Sales, and Warehouse Profit measures).

We will create a subset of the existing Warehouse cube to meet the needs of the Operations group, for starters.

  1. From the Analysis Manager console, right-click the Cubes folder within the FoodMart 2000 database.
  1. Click New Virtual Cube on the context menu, as we did in our first exercise.

The Virtual Cube Wizard Welcome Dialog appears, once again.

  1. Click Next.

The Select the Cubes to Include in the Virtual Cube dialog appears.

  1. Double-click the Warehouse cube to select and move it from the Available Cubes list to the Virtual Cubes Include list.

The dialog appears as shown below, after our selection.



Illustration 19: Our Selection: Cubes to Include in the Virtual Cube Dialog


  1. Click Next.
  2. Select the following measures:
  • Supply Time
  • Warehouse Cost
  • Units Shipped
  • Units Ordered

Our selections appear in the Selected Measures list of the dialog.

  1. Click the Supply Time measure once.
  2. Press F2 to enter the Edit mode.
  3. Change the Supply Time measure name to Lead Time.
  4. Click the Warehouse Cost measure once.
  5. Press F2 to enter the Edit mode.
  6. Change the Warehouse Cost measure name to simply Cost.

The Select the Measures for the Virtual Cube dialog appears as shown below, after we have made our changes.



Illustration 20: The Measures as Modified


  1. Click Next.


Page 8: Creating a Virtual Cube (Continued)


Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 



Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Script Component: Working with BLOB 0010 4 January 27th, 03:03 PM
Will an MS SQL db table trigger affect the value returned by scope_identity? wreade 2 December 19th, 04:48 PM
BULK UPDATE error benedec 1 December 14th, 08:39 AM
Toggling problem in Matrix report ssrs 2008 dev_ritesh 0 December 2nd, 02:17 PM