25
Thu, Apr
1 New Articles

Securing Your Data Warehouse

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times
A data warehouse is a valuable asset to any organization because it integrates and enhances the organization's raw data that is stored either in its online transaction processing (OLTP) databases or in external data sources. Users from various locations can access this central repository of information for their reporting requirements. However, the advantages of a data warehouse could at times prove to be disadvantages when security concerns are raised. If sensitive information falls into the wrong hands, it could cause serious problems for the organization. Therefore, security plays an important role in any data warehouse.

With data warehousing, two security issues need to be addressed, so security needs to be implemented at two levels. The first is protecting the data warehouse against employees. Users within the organization should be able to access only the information that they have the security clearance for. The second is protecting the data warehouse against those external to the organization who may try to access the organization's data.

Protect Your Information from Users

As is the case with any legacy application, a data warehouse consists of a set of tables. These tables could be fact, dimension, helper, or any other type of tables present in the warehouse. An end user application is used for analyzing and exploring the data present in the warehouse. This could be either an OLAP tool or an internally developed application. Users should be allowed to access the data warehouse only via the end user application.

Security for the end user application is important because it serves as the interface between the data warehouse and the end users. To an extent, the security requirements depend on the requirements for the data warehouse. Security for the data warehouse and the end user application can be broadly classified into six areas: user security, row-level security, report security, data security, data backup, and virus protection.

User Security

This level of security pertains to the data that can be accessed by the end users. Users should not be allowed to add, delete, or modify any of the data that is present in the data warehouse. They should be allowed to only query the data warehouse and view data that they have access to. Only those administering the data warehouse should have access to the population scripts used for refreshing the data.

In order to implement user security, administrators should provide users who are going to access the data warehouse with a user ID and password. If there are multiple users with the same authority level, then a user class can be created and the user IDs linked to the user class. For each user ID, the corresponding authority level needs to be set. It should be ensured that users who access the data warehouse do so only via their user ID. When a user logs in, the system identifies the access rights for that user ID, thereby allowing the user to view data that the user has access to.

Row-Level Security

This pertains to the data that can be viewed by the end users. For example, employees in a particular department should be allowed to view only data that pertains to their department. They should not be allowed to view data that is related to the other departments. Row-level security can be managed at the data warehouse level as well as at the end user application level.

At the data warehouse level, one method that can be used for implementing row-level security is to create views on the data warehouse tables. Another approach could be to partition the data and store it in the data warehouse. A slight deviation from this would be to create departmental datamarts. For example, data pertaining to the human resource department is stored in the HR datamart. Similarly, information pertaining to the finance department is stored in the financial datamart. The approach used for implementing row-level security could vary based on the requirements for the data warehouse.

Row-level security can also be handled in the end user application. One commonly used technique is data filtering at the report level. For example, assume that the head of marketing wants to see details about employees in the marketing department. There is no point in presenting the manager with a report that contains details about all the employees in the organization. In this case, a filter can be applied on the department field, thereby allowing each department manager to view data pertaining to their department.

Report Security

In a data warehouse environment, users can execute two types of reports: ad hoc reports and predefined reports.

Ad hoc reports are developed on the fly. Users who are exploring the data in the warehouse usually come out with such reports. Those who generate these reports can either save them for future use or delete them. A potential problem that could arise here is that, when exploring the data, the user may come across information that ideally the user should not have access to. In order to overcome this, a user should first log in to the end user reporting application using a user ID and password. Based on the authority that is associated with that user ID, the user can run ad hoc reports on the data warehouse and view data that the user has access to.

Predefined reports can also be run on a data warehouse. When a data warehouse is developed, a set of predefined reports is usually provided along with the data warehouse. Generally, these reports are executed on a periodic basis. An example of this could be the monthly employee payroll report. The list of users who will be allowed to access each report should be determined before the reports can be released to the end users, thereby allowing the security for the reports to be set up before releasing the reports to the end users. Users should only be allowed to execute reports that they have access to.

Data Security

Most data warehouses contain a lot of sensitive and personal information. For example, they could contain personal details about an employee, such as the employee's contact information, date of birth, SSN, etc. To safeguard such information, data encryption (otherwise known as "data masking") can be used. All sensitive information can be encrypted and stored in the data warehouse. When this data is accessed by authorized users, it can be decrypted and revealed. If for some reason a user is able to hack into the data warehouse, the user will see only the encrypted data. At the same time, it is unnecessary and time-consuming to encrypt all the data that is stored in the data warehouse.

Data Backup

Every organization that has a data warehouse should have a disaster recovery plan. An important part of this plan is data backup, which should be performed daily or least weekly. Data can be backed up to a separate server, a tape, or even a CD. The volume of data in the data warehouse determines the backup medium. The backup of the data should be stored at a separate physical location if possible. Should anything happen, the backup can be used for restoring the data warehouse.

Virus Protection

The data warehouse also needs to be protected against a virus attack. If the data warehouse gets infected with a virus, it could cause quite a few problems. Therefore, good virus software needs to be installed and used to protect the data stored in the data warehouse. The software that is used should always be kept up-to-date. It is also advisable to carry out periodic virus scans on the data warehouse.

Protect Your Information from Hackers

After you've protected the data warehouse from employees within an organization, the next step is to protect the data warehouse from those who may try to access the data warehouse from outside the organization. The threat of unauthorized access to the data warehouse from outside is just as high as the threat from within. One commonly used method for protecting the data warehouse from external access is to use a firewall.

To ensure that the security of the data warehouse is always maintained at a high level, security experts must perform periodic security audits on the data warehouse. During the audit, the security of the data warehouse environment and end user applications needs to be reviewed. Any security lapses found should be documented, and solutions for bridging these gaps should be provided. On completion of the audit, a report should be prepared and presented to management for their review and approval before implementing the required security procedures.

Never Enough

As we have seen, security plays an important role in a data warehouse environment. An organization's data is extremely valuable to both employees and external sources, and the loss of this information could prove to be an organization's downfall. Every possible attempt should be made to secure the data warehouse and the data stored in it.

There is no such thing as too much security. As the saying goes, it's better to be safe than sorry.

Warren Sequeira is a senior technical architect with Hexaware Technologies Ltd. He can be reached via email at This email address is being protected from spambots. You need JavaScript enabled to view it..

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$0.00 Raised:
$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: