AAA, i.e. authentication (authentication), authorization (authorization allocation) and accounting (may better billing of provided services). Cryptography is mainly devoted to authentication, but provides information for authorization. For some authentication algorithms, it is difficult to distinguish the authentication and authorization parts, because one server authenticates identity and can further provide information about authorization.
Cryptography ensures the protection of stored or transported data, its integrity, authenticity and non-repudiation.
It can be a powerful tool even in authentication. But it does not address authorization, i.e. the granting
of access permissions. It can only support authorization with another layer of protection mechanisms, be it refusal
of access (negation of availability in case of password ignorance), anonymization of data or anonymized processing,
processing of encrypted data … other examples could be found. But authorization control is a bit of a separate
discipline.
The first formalizations of authorization control originated in "computer antiquity." Today we use the descendants
of these technologies, but we do not always use them correctly. Therefore, it is advisable to mention the pros and cons
of these technologies, including examples where they fail. At the same time, it is a kind of refresh of basic
knowledge on this topic.
This abbreviation often evokes to me the integrity control (one of the abbreviations is also MAC), so it is
necessary to know the context of the use. The actual access control uses a system of labels, i.e. security labels
for each source or individual. Such labels should consist of two parts, classification and affiliation. The classification
of data determines the access restriction, i.e. how sensitive the data is. The equivalent for the user is
a screening, i.e. for how sensitive the data can get access. Affiliation then indicates for users or data the use
method (range restriction). The data can belong to a specific project, group or department, users can be classified
into similar limits. Access is granted in this case only and only if the following conditions are met:
- User and data have the same level of classification
- User and data have the same affiliation
Based on the above restrictive procedure, the place of origin is evident, i.e. the intelligence and military community.
Nevertheless, it is advisable to protect some data in a similarly restrictive way, on the other hand, this procedure
has its obvious advantages and disadvantages. Among the advantages is enforceability, i.e. the rules cannot be changed.
Another advantage is compartmentalization, i.e. limited exposure of each resource to only a limited group, this
limitation can be significantly more accurate than for hierarchical inheritance of rights.
However, such a solution has its disadvantages. The first is a limitation of communication and cooperation, which
can be counterproductive, especially for dynamic collectives. If intensive cooperation between different departments
is required, this approach may require extra effort. Furthermore, the creation and maintenance of labels is usually
managed by a specialized organizational structure. This must in principle have significantly higher permissions, as it has
to manage the data.
The access control is based on ACLs (Access Control List), i.e. permission lists. These are set by the owner of the resource, which can be the system administrator (of the resources) or the author. The above tables pair the permissions to the resources for individual users or user resources. The advantage of this approach is the extreme simplicity of the setup and reaction speed of the system (the owner can set the permissions for the data provided by him). The disadvantage is the need to browse a large number of records, where some of them may or may not have access rights. Subsequently, the question is how these collisions will be evaluated. Another disadvantage is the difficulty of identifying access permissions to individual resources. Nevertheless, this is one of the most commonly used access control systems.
This is the management of permissions based on roles, in other words, on the work, position or role performed, or on
the membership of a particular group of users. This is a popular way to implement the principle of least-needed
permissions. Deployment needs adequate analysis of the approaches needed for individual positions and determination
of the permissions for access to individual sets of data.
The advantage is extreme flexibility. This flexibility means the possibility of assigning users to multiple roles,
exploiting the inheritance of permissions within the hierarchy, defining relationships between roles, easy maintenance,
centralized policies, and limiting possible conflicts of permissions. The disadvantage, on the other hand, is the
need for relationship and obligation analysis. Assigning a large number of overlapping roles to a user can become
a problem, which can also lead to omissions when limiting access permissions for a given user. Depending on the extent,
it may then be necessary to balance the granularity of access control against the overall complexity of administration.
Beyond the above basic methods, procedures derived from these three basic methods are also used. The rough approximation
is as follows:
This method is usually used on firewalls, where it controls the approval or refusal of access based on the properties of the communication. In a simpler case, it is solved whether the communication protocol is approved or disapproved. More complex systems can only analyse and approve this communication protocol if it corresponds to a standard form of communication (if the context is correct).
This is a little-known method that is only used in a limited group of products. When setting permissions, a company hierarchy is created, along with a graph of dependencies and permissions between users. Based on this data, it is then possible to query the system whether the user can obtain permissions to access the given resources.
This approach is based on the creation of a matrix of permissions and their interactions, i.e. relationships between individual objects. These relationships then allow the necessary permissions to be defined. This is a good procedure for situations where specific independent task groups are created in the standard structure of the organization, e.g. for projects. This is a system that has a similar approach to MAC to some extent, may have merit in some cases, but it is an extremely complex approach.
The organizational scheme extends the original RBAC to some extent and combines it with GBAC. All relationships are thus based on the hierarchical structure of the organization.
A policy based on user-document relationships requires defining this relationship, e.g. the user is the author of the document, working on the project described in this project and so on. To some extent it is possible to liken this relationship to MAC, where the label is replaced by a relationship.
This model is based on the evaluation of certain rules and is very similar to e.g. the permission structure within SeLINUX. The advantage of such a model is the ability to influence the allocation of permissions in case of conflicts of different rights allocations. While such a model is flexible, it requires considerable effort for implementation.
These are authorization management systems, based on the definition of data attributes and policies. Policies provide access based on evaluating the rules above the attributes. Because both rules and attributes can provide complex options, it is possible to design very complex access control methods thanks to these technologies. With large-scale settings, it is necessary to use some descriptive scheme that allows easier control methods. Perhaps the best-known method mentioned is a descriptive scheme called XACML.
This is an attribute evaluation system described in XML format. The actual writing of the rules uses the properties of the Alpha language (Axiomatic Language for Authorization). Currently, manufacturers are trying to use the definition of authorization on web portals and cloud storage using XACML. Its equivalent is another similar system called NGAC, the principles are practically identical.
There are other methods that should be described, but the possibility of using them is always limited in some way. The general problem with all these systems is weaknesses in the management of information protection under marginal conditions, but these can be a stumbling block for the management system. The biggest complications can be summed up in the following points:
- Creation of information
The problem arises from the creation of this information on the basis of the knowledge and experience base of specific
persons, who do not have to pass through the access control network, i.e. do not have the appropriate permissions.
Thus, either the permissions are granted to them or refused, even with an impact on the whole principle of data access
control. An example is the familiarization of the person with data at a higher level of classification or outside of
their permissions, this can affect the protection of a particular project.
- Allocation of permissions
Allocation of permissions may require access to data and its classification by an independent group of persons. At this
point, there is a risk that they may become acquainted with data that is outside their clearance or authority. If it
is not an independent group of persons but the owner of the data, the level of permission setting depends mainly on the
knowledge and experience of that person.
- Chained allocation of permissions
The problem of chained allocation of permissions is not only the case when using one, but also when using a combination
of several methods of access control. As an example, it is possible to use a situation that occurs relatively frequently.
Data can be stored and processed by one system. The outputs of this system go to the other, usually with a different
classification of the data or only the processed data are classified differently. Moreover, often in the second system,
data from the first system can be combined with other sources. The resulting problem arises from several reasons. Either
the data classification information is lost during the processing, or the data is not reclassified, or, together with
a combination of other inputs, it is possible to obtain data with the same or higher classification than the original
data. As a result, a user who does not have access to the data in the first system can obtain significantly more
valuable data in the second.
- Permissions collision
This is a problem of collisions of two or more source access permissions, where each of the permissions provided provides
different values of the permissions for the user. The resulting state then complicates the evaluation and it is difficult
to determine which of these values take precedence. Fortunately, this is usually a method of access control, where
by default all rights are limited and only some permissions are allowed, yet it is necessary to be careful of
the situations mentioned.
- Data science / de-anonymization of data
The user can access data with low classification, but by combination with other data he can restore the original
data with higher classification or data to which he does not have access. This is a variant of a problem similar
to the concatenated allocation of permissions. As in the previous case, the solution is the use of data curators
and anonymization of outputs in a way that makes it difficult or impossible for the user concerned to extract them
(online models, not a passive model anonymizing data). Although this is a simple description, solving such a problem
is extremely challenging. It often means understanding the context of the situation and the data, and thus getting
acquainted with their content.
- Data copy
The user (or the application under the user's rights) or the administrator can create copies of the data, but this
data does not have to carry information about the permissions allocated, or the data owner may lose the database
of access permissions. This leads to two situations where, in the first case, any person can access this data, in
the second case, none. The first example occurs in the case of insider threat, data exfiltration, but also
inappropriate backup methods, the second can occur, for example, in the case of ransomware attack.
In the case of system selection, it is necessary to know the possibilities in the field of authentication mechanisms selection, for which it is necessary to consider the possibilities in the field of user permissions management. These mechanisms have their limitations, so it is necessary to think about how to allocate permissions. The alternative is to switch to technologies that will allocate authorisations in the desired way. Of course, it is impossible to forget the protection of information by access control rules throughout its life cycle, the classification of this information is then "only" another dimension.
1. Introductory Provisions
1.1. These General Terms and Conditions are, unless otherwise agreed in writing in the contract, an integral part of all contracts relating to training organised or provided by the trainer, Jan Dušátko, IČ 434 797 66, DIČ 7208253041, with location Pod Harfou 938/58, Praha 9 (next as a „lector“).2. Creation of a contract by signing up for a course
2.1. Application means unilateral action of the client addressed to the trainer through a data box with identification euxesuf, e-mailu with address register@cryptosession.cz or register@cryptosession.info, internet pages cryptosession.cz, cryptosession.info or contact phone +420 602 427 840.3. Termination of the contract by cancellation of the application
3.1. The application may be cancelled by the ordering party via e-mail or via a data mailbox.4. Price and payment terms
4.1. By sending the application, the ordering party accepts the contract price (hereinafter referred to as the participation fee) indicated for the course.5. Training conditions
5.1. The trainer is obliged to inform the client 14 days in advance of the location and time of the training, including the start and end dates of the daily programme.6. Complaints
6.1. If the participant is grossly dissatisfied with the course, the trainer is informed of this information.7. Copyright of the provided materials
7.1. The training materials provided by the trainer in the course of the training meet the characteristics of a copyrighted work in accordance with Czech Act No 121/2000 Coll.8. Liability
8.1. The trainer does not assume responsibility for any shortcomings in the services of any third party that he uses in the training.9. Validity of the Terms
9.1 These General Terms and Conditions shall be valid and effective from 1 October 2024.Consent to the collection and processing of personal data
According to Regulation (EU) No 2016/679 of the European Parliament and of the Council on the protection of individuals with regard to the processing of personal data and on the free movement of such data and repealing Directive 95/46/EC (General Data Protection Regulation, hereinafter referred to as "the Regulation"), the processor xxx (hereinafter referred to as "the Controller") processes personal data. Individual personal data that are part of the processing during specific activities at this web presentation and in the course of trade are also broken down.Information about the records of access to the web presentation
This website does not collect any cookies. The site does not use any analytical scripts of third parties (social networks, cloud providers). For these reasons, an option is also offered for displaying the map in the form of a link, where the primary source is OpenStreet and alternatives then the frequently used Maps of Seznam, a.s., or Google Maps of Google LLC Inc. The use of any of these sources is entirely at the discretion of the users of this site. The administrator is not responsible for the collection of data carried out by these companies, does not provide them with data about users and does not cooperate on the collection of data.Information about contacting the operator of the site
The form for contacting the operator of the site (administrator) contains the following personal data: name, surname, e-mail. These data are intended only for this communication, corresponding to the address of the user and are kept for the time necessary to fulfil the purpose, up to a maximum of one year, unless the user determines otherwise.Information about the order form
In case of an interest in the order form, the form contains more data, i.e. name, surname, e-mail and contact details for the organisation. These data are intended only for this communication, corresponding to the address of the user and are kept for one year, unless the user determines otherwise. In the event that a business relationship is concluded on the basis of this order, only the information required by Czech law on the basis of business relations (company name and address, bank account number, type of course and its price) will continue to be kept by the administrator.Information about the course completion document
Within the course, a course completion document is issued by the processor. This document contains the following data: student's name and surname, the name and date of the course completion and the employer's name. The information is subsequently used for the creation of a linear hash tree (non-modifiable record). This database contains only information about the provided names and company names, which may or may not correspond to reality and is maintained by the processor for possible re-issuance or verification of the document's issuance.Rights of the personal data subject
The customer or visitor of this website has the possibility to request information about the processing of personal data, the right to request access to personal data, or the right to request the correction or deletion of any data held about him. In the case of deletion, this requirement cannot be fulfilled only if it is not data strictly necessary in the course of business. The customer or visitor of this website also has the right to obtain explanations regarding the processing of his personal data if he finds out or believes that the processing is carried out in violation of the protection of his private and personal life or in violation of applicable legislation, and the right to request removal of the resulting situation and to ensure the correction.