Enum DataConfidentiality
- Namespace
- ToSic.Eav.DataSource.VisualQuery
- Assembly
- ToSic.Eav.DataSource.dll
Specifies the confidentiality level of data for access control and classification purposes.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public enum DataConfidentiality
Fields
Confidential = 3Confidential data; accessible only to specific users / SiteAdmins.
Internal = 2Internal data; accessible within the organization if someone has a login.
Never = 6Specifies that this data should never be made available, not even to the system administrators.
Public = 1Public data; accessible to everyone.
Secret = 4Secret data; highly sensitive and restricted.
System = 5System data; accessible only to system processes and host users. This kind of data may contain critical system information leading to privilege escalation.
Unknown = 0Unknown / not specified; default.
Remarks
Use this enumeration to indicate how sensitive a particular piece of data is, which can help determine appropriate access restrictions and handling requirements. The values range from unknown or public data to highly sensitive system-level data. Selecting the correct confidentiality level is important for enforcing security policies and regulatory compliance.
By default, it's set to Unknown, indicating that the confidentiality level has not been specified.
Certain processes which access any DataSource will treat Unknown as equivalent to System to avoid unintentional data exposure. Therefore, it's recommended to explicitly set the confidentiality level for DataSources which handle internal information.