You may need to restrict access to the data in a Domain accessed by multiple users. For example, you may allow managers to analyze data across their department but allow individual contributors to see only their own data. For this purpose, Domains support security files.
![pro-only-icon_28x28.png.a420765092298cbefbf124342244a878.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) | This section describes functionality that can be restricted by the software license for JasperReports Server. If you don’t see some of the options described in this section, your license may prohibit you from using them. To find out what you're licensed to use, or to upgrade your license, contact Jaspersoft. |
![note-icon-ns_28x28.png.2720cc1a4b64805eb8ed47fb6810436a.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) | This chapter describes tasks only administrators can perform. |
When Domain security is properly configured, a user sees only the data they're meant to see. You define Domain security by writing data access filtering rules in XML and uploading them as a new security file in the Domain Designer. These rules are powerful and flexible, and can be based on multiple aspects like user roles or attributes.
The power of this solution is best presented as an example business case. This section describes a fictional company’s implementation of Domains in JasperReports Server—from both a business perspective and an implementation perspective.
![note-icon-ns_28x28.png.6d3386b652ee36e5ffb83108aa278d63.png](https://community.jaspersoft.com/applications/core/interface/js/spacer.png) | In JasperReports Server 6.0, we added support for hierarchical attributes. The examples in this chapter still work, but they do not support the cascading functionality of hierarchical attributes. See Updating your Security File for information on implementing domain security with hierarchical attributes. |
For details about the basics of Domains, refer to the JasperReports Server User Guide.
This chapter includes the following sections:
Recommended Comments
There are no comments to display.