Download see - GENIVI Alliance
Transcript
3.3 Security Persistence does not provide an independent security concept. Security is in the system responsibility and persistence needs to be integrated into this concept. Nevertheless persistence provides access control to persistence data in order prevent data to be accessed by applications not allowed to. Due to the principle of data separation it is possible to apply different Linux user rights to the different subfolders of the applications. The application will be execute with the corresponding Linux user rights. The same concept applies for the shared data, where the access restriction will be done using different Linux group ID's. Note one or more applications can be started with the same POSIX UID. The Persistence Administration Service is responsible to setup the default file and folder structure with the corresponding access rights (Linux user and group ID). The following table shows an example how the group management can be configured. Data Owner group App1 App1 App1 App2 App2 App2 App3 App3 App3 App1gp1 App1 App1gp1 App1gp2 App1 App1gp1 App1gp3 App1 App1gp1 App2gp1 Ap2 App2gp1 App3gp1 App3 App3gp1 Group Table 4 - Linux Group Management If an application needs access to the data shared by app1 in the sub group1 then this application needs to be added to the specific group app1gp1. The logical database ID is the resolution of the name of the group over the system. Note: The setup of users and running the different applications with a special is in the responsibility of the using project. PCL and/or PAS are not creating any user in the system. To enhance access control also mandatory access control (e.g. SMACK) can be used. Mentor Graphics, Version 2.5 9