SlideShare a Scribd company logo
1 of 14
Download to read offline
FOSDEM Brussels 2015-02-01
Kevin THIERRY - kevin.thierry@open.eurogiciel.org
Sabera DJELTI - sabera.djelti@open.eurogiciel.org
Multi-user support in an embedded
secured environment
Practical return of experience from Tizen 3 in AutomotivePractical return of experience from Tizen 3 in Automotive
FOSDEM Brussels 2015-02-01
Content
Introduction: IVI needs
I - User management
II - Application framework
III - Multi-seat
IV - Resources management
V - Current status
Conclusion
Questions
2
FOSDEM Brussels 2015-02-01
Context: IVI needs
3
Multi-seat:
➢ Several users using the system at the same time
➢ User sessions separation
➢ User privilege management
Peripherals management:
➢ Wi-Fi, bluetooth...
FOSDEM Brussels 2015-02-01
I – User management
4
3 types of users:
➢ Privileged user
➢ Regular users
➢ Guest user
Separate databases
➢ app_info.db, pkgmg_parser.db pkgmg_cert.db
Common AppsUser 1 Apps User 2 Apps
guest
FOSDEM Brussels 2015-02-01
II – Application framework
1) Package installation
5
For all users (Common) Only for current user
Preinstalling pkg_initdb
ail_initdb
pkg_initdb_user
ail_initdb_user
At Runtime pkgcmd pkgcmd
Unique application ID = user name + application ID
Application ID = package ID + application name
FOSDEM Brussels 2015-02-01
II – Application framework
1) Package installation
6
➢ Different types of packages (wgt,
xpk...)
➢ Only one package installer:
pkgcmd + pkgmgr-server
➢ Use different backends provided
by app-installer
➢ Motivation: manage security
independently of the package
type
FOSDEM Brussels 2015-02-01
II – Application framework
2) Launching applications
7
FOSDEM Brussels 2015-02-01
III – Multi-seat
8
Objectives:
➢ Switching from one seat to another without losing launched applications
➢ Prevent users from interacting with contents that belongs to other users
➢ Keep user sessions separated
Solutions:
➢ Use only one Weston service for all users
➢ Allows to switch to another screen without logging out
➢ Use the application framework to move applications from a display to
another
FOSDEM Brussels 2015-02-01
IV – Resource management
9
Objective:
➢ Manage conflicts regarding resources (Wi-Fi, bluetooth...)
Solution:
➢ Only the privileged usercan configure those resources
➢ Define shared and exclusive resources
FOSDEM Brussels 2015-02-01
V - Current status
1) Work done
10
pkgcmd -i -t wgt -p <path_to_.wgt> -q -G
app_launcher -s <app_ID>
Remove hard-coded paths/uid/gid
Security management
- No more old SMACK labels from Tizen 2.x
- Privileged user with gid “system”
User databases
- Separated databases: app_info.db, pkgmg_parser.db, pkgmg_cert.db
- databases registration: initdb binary and pkgcmd backend
CAPI
- CAPI with the uid in parameter in the case of a user environment
Multi-user feature in media packages
Installing and launching applications
FOSDEM Brussels 2015-02-01
V - Current status
2) Upcoming
11
Resource service/display management
- the privileged user can launch an application on a display other than its own
Security management
- set correct permissions (security manager)
- share data between applications from the same package
Media-server: common environment remains to be done
Multi-user feature in non-media packages
Bluetooth:
- first step done: protection of device's private data from a user to another user
- a lot of work remains to be done (shared pairing with exclusive connection,
shared pairing with with parallel connections, local adapter control, sharing devices)
Winet
FOSDEM Brussels 2015-02-01
V - Current status
2) Adding multi-user feature: example with media packages
12
Duplicated:
➢ CAPI functions (ail, pkgmgr-info...) for global apps & user apps
➢ Databases
FOSDEM Brussels 2015-02-01
Conclusion
13
IVI NEEDS MULTIUSER
Separate users session • Individual environment per user
• Common environment
Re-seating One weston service for all users
Peripheral management • Privileged user
• Access restriction
• Resource allocation for dedicated
user
Privileges requirements • Permission access
• Security manager
FOSDEM Brussels 2015-02-01
Questions ?
Documentation:
* wiki.tizen.org/wiki/Multi-user_Architecture
* wiki.tizen.org/wiki/Multi-user_PackageApplicationManagement
* wiki.tizen.org/wiki/Multi-user_Media-server
* wiki.tizen.org/wiki/Applications_Installer
* wiki.tizen.org/wiki/Application_framework
14
Kevin THIERRY - kevin.thierry@open.eurogiciel.org
Sabera DJELTI - sabera.djelti@open.eurogiciel.org
Tizen dev mailing list: dev@lists.tizen.org

More Related Content

Similar to fosdem-2015

Your CODESYS Applications, Protected and Licensed
Your CODESYS Applications, Protected and LicensedYour CODESYS Applications, Protected and Licensed
Your CODESYS Applications, Protected and Licensed
team-WIBU
 
Flexthink2016_IIOT_Vision
Flexthink2016_IIOT_VisionFlexthink2016_IIOT_Vision
Flexthink2016_IIOT_Vision
Yvan Rudzinski
 
Implementing a Security strategy in IoT, Practical example Automotive Grade L...
Implementing a Security strategy in IoT, Practical example Automotive Grade L...Implementing a Security strategy in IoT, Practical example Automotive Grade L...
Implementing a Security strategy in IoT, Practical example Automotive Grade L...
LibreCon
 

Similar to fosdem-2015 (20)

Internet of Things: an overview
Internet of Things: an overviewInternet of Things: an overview
Internet of Things: an overview
 
report on network security fundamentals
report on network security fundamentalsreport on network security fundamentals
report on network security fundamentals
 
Your CODESYS Applications, Protected and Licensed
Your CODESYS Applications, Protected and LicensedYour CODESYS Applications, Protected and Licensed
Your CODESYS Applications, Protected and Licensed
 
Flexthink2016_IIOT_Vision
Flexthink2016_IIOT_VisionFlexthink2016_IIOT_Vision
Flexthink2016_IIOT_Vision
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A hybrid cloud approach for secure au...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A hybrid cloud approach for secure au...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A hybrid cloud approach for secure au...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A hybrid cloud approach for secure au...
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A hybrid cloud approach for secure aut...
 
VISULOX-Summary-SN
VISULOX-Summary-SNVISULOX-Summary-SN
VISULOX-Summary-SN
 
Convergence Best Poster Award
Convergence Best Poster AwardConvergence Best Poster Award
Convergence Best Poster Award
 
Managing Unix Accounts in Today's Complex World: Stop the Shadow IT and Be Mo...
Managing Unix Accounts in Today's Complex World: Stop the Shadow IT and Be Mo...Managing Unix Accounts in Today's Complex World: Stop the Shadow IT and Be Mo...
Managing Unix Accounts in Today's Complex World: Stop the Shadow IT and Be Mo...
 
Application cloudification with liberty and urban code deploy - UCD
Application cloudification with liberty and urban code deploy - UCDApplication cloudification with liberty and urban code deploy - UCD
Application cloudification with liberty and urban code deploy - UCD
 
Implementing a Security strategy in IoT, Practical example Automotive Grade L...
Implementing a Security strategy in IoT, Practical example Automotive Grade L...Implementing a Security strategy in IoT, Practical example Automotive Grade L...
Implementing a Security strategy in IoT, Practical example Automotive Grade L...
 
checkpoint
checkpointcheckpoint
checkpoint
 
Power point presentation on cyber security
Power point presentation on cyber securityPower point presentation on cyber security
Power point presentation on cyber security
 
BT Cloud Enterprise Service Store - Rob Rowlingson
BT Cloud Enterprise Service Store - Rob RowlingsonBT Cloud Enterprise Service Store - Rob Rowlingson
BT Cloud Enterprise Service Store - Rob Rowlingson
 
Standardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-VStandardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-V
 
Ivanti Momentum | What's New in User Workspace Manager 2020.2
Ivanti Momentum | What's New in User Workspace Manager 2020.2Ivanti Momentum | What's New in User Workspace Manager 2020.2
Ivanti Momentum | What's New in User Workspace Manager 2020.2
 
Survey Paper on Smart Surveillance System
Survey Paper on Smart Surveillance SystemSurvey Paper on Smart Surveillance System
Survey Paper on Smart Surveillance System
 
IRJET- Document Management System, Open Source and Secure
IRJET-  	  Document Management System, Open Source and SecureIRJET-  	  Document Management System, Open Source and Secure
IRJET- Document Management System, Open Source and Secure
 
IRJET-Domain Data Security on Cloud
IRJET-Domain Data Security on CloudIRJET-Domain Data Security on Cloud
IRJET-Domain Data Security on Cloud
 

fosdem-2015

  • 1. FOSDEM Brussels 2015-02-01 Kevin THIERRY - kevin.thierry@open.eurogiciel.org Sabera DJELTI - sabera.djelti@open.eurogiciel.org Multi-user support in an embedded secured environment Practical return of experience from Tizen 3 in AutomotivePractical return of experience from Tizen 3 in Automotive
  • 2. FOSDEM Brussels 2015-02-01 Content Introduction: IVI needs I - User management II - Application framework III - Multi-seat IV - Resources management V - Current status Conclusion Questions 2
  • 3. FOSDEM Brussels 2015-02-01 Context: IVI needs 3 Multi-seat: ➢ Several users using the system at the same time ➢ User sessions separation ➢ User privilege management Peripherals management: ➢ Wi-Fi, bluetooth...
  • 4. FOSDEM Brussels 2015-02-01 I – User management 4 3 types of users: ➢ Privileged user ➢ Regular users ➢ Guest user Separate databases ➢ app_info.db, pkgmg_parser.db pkgmg_cert.db Common AppsUser 1 Apps User 2 Apps guest
  • 5. FOSDEM Brussels 2015-02-01 II – Application framework 1) Package installation 5 For all users (Common) Only for current user Preinstalling pkg_initdb ail_initdb pkg_initdb_user ail_initdb_user At Runtime pkgcmd pkgcmd Unique application ID = user name + application ID Application ID = package ID + application name
  • 6. FOSDEM Brussels 2015-02-01 II – Application framework 1) Package installation 6 ➢ Different types of packages (wgt, xpk...) ➢ Only one package installer: pkgcmd + pkgmgr-server ➢ Use different backends provided by app-installer ➢ Motivation: manage security independently of the package type
  • 7. FOSDEM Brussels 2015-02-01 II – Application framework 2) Launching applications 7
  • 8. FOSDEM Brussels 2015-02-01 III – Multi-seat 8 Objectives: ➢ Switching from one seat to another without losing launched applications ➢ Prevent users from interacting with contents that belongs to other users ➢ Keep user sessions separated Solutions: ➢ Use only one Weston service for all users ➢ Allows to switch to another screen without logging out ➢ Use the application framework to move applications from a display to another
  • 9. FOSDEM Brussels 2015-02-01 IV – Resource management 9 Objective: ➢ Manage conflicts regarding resources (Wi-Fi, bluetooth...) Solution: ➢ Only the privileged usercan configure those resources ➢ Define shared and exclusive resources
  • 10. FOSDEM Brussels 2015-02-01 V - Current status 1) Work done 10 pkgcmd -i -t wgt -p <path_to_.wgt> -q -G app_launcher -s <app_ID> Remove hard-coded paths/uid/gid Security management - No more old SMACK labels from Tizen 2.x - Privileged user with gid “system” User databases - Separated databases: app_info.db, pkgmg_parser.db, pkgmg_cert.db - databases registration: initdb binary and pkgcmd backend CAPI - CAPI with the uid in parameter in the case of a user environment Multi-user feature in media packages Installing and launching applications
  • 11. FOSDEM Brussels 2015-02-01 V - Current status 2) Upcoming 11 Resource service/display management - the privileged user can launch an application on a display other than its own Security management - set correct permissions (security manager) - share data between applications from the same package Media-server: common environment remains to be done Multi-user feature in non-media packages Bluetooth: - first step done: protection of device's private data from a user to another user - a lot of work remains to be done (shared pairing with exclusive connection, shared pairing with with parallel connections, local adapter control, sharing devices) Winet
  • 12. FOSDEM Brussels 2015-02-01 V - Current status 2) Adding multi-user feature: example with media packages 12 Duplicated: ➢ CAPI functions (ail, pkgmgr-info...) for global apps & user apps ➢ Databases
  • 13. FOSDEM Brussels 2015-02-01 Conclusion 13 IVI NEEDS MULTIUSER Separate users session • Individual environment per user • Common environment Re-seating One weston service for all users Peripheral management • Privileged user • Access restriction • Resource allocation for dedicated user Privileges requirements • Permission access • Security manager
  • 14. FOSDEM Brussels 2015-02-01 Questions ? Documentation: * wiki.tizen.org/wiki/Multi-user_Architecture * wiki.tizen.org/wiki/Multi-user_PackageApplicationManagement * wiki.tizen.org/wiki/Multi-user_Media-server * wiki.tizen.org/wiki/Applications_Installer * wiki.tizen.org/wiki/Application_framework 14 Kevin THIERRY - kevin.thierry@open.eurogiciel.org Sabera DJELTI - sabera.djelti@open.eurogiciel.org Tizen dev mailing list: dev@lists.tizen.org