1 # Comparison to other frameworks
7 ## Organization of directory of applications
9 The main path for applications are: APPDIR/PKGID/VER.
13 - APPDIR is as defined above
14 - PKGID is a directory whose name is the package identifier
15 - VER is the version of the package MAJOR.MINOR
17 The advantage of such an organization is to allow several versions to live together.
18 This is required for multiple reasons (ie: roll back) and to comply with developers habits.
20 ### Identity of installed files
22 All the files are installed as user "userapp" and group "userapp".
23 All files have rw(x) for user and r-(x) for group and others.
25 This allows any user to read files.
27 ### Labeling the directories of applications
29 ## Organization of data
31 The data of a user are contain within its directory and are labeled using the application labels
33 ## Setting Smack rules for the application
35 For Tizen, the following rules are set by the security manager for each application.
39 System ~PKG~::RO rwxat
41 ~APP~ System::Shared rxl
42 ~APP~ System::Run rwxat
43 ~APP~ System::Log rwxa
50 ~APP~ User::App::Shared rwxat
54 Here, ~PKG~ is the identifier of the package and ~APP~ is the identifier of the application.
56 ## What user can run an application`?`
58 Not all user are able to run all applications.
61 [meta-intel]: https://github.com/01org/meta-intel-iot-security "A collection of layers providing security technologies"
62 [widgets]: http://www.w3.org/TR/widgets "Packaged Web Apps"
63 [widgets-digsig]: http://www.w3.org/TR/widgets-digsig "XML Digital Signatures for Widgets"
64 [libxml2]: http://xmlsoft.org/html/index.html "libxml2"
65 [openssl]: https://www.openssl.org "OpenSSL"
66 [xmlsec]: https://www.aleksey.com/xmlsec "XMLSec"
67 [json-c]: https://github.com/json-c/json-c "JSON-c"
68 [d-bus]: http://www.freedesktop.org/wiki/Software/dbus "D-Bus"
69 [libzip]: http://www.nih.at/libzip "libzip"
70 [cmake]: https://cmake.org "CMake"
71 [security-manager]: https://wiki.tizen.org/wiki/Security/Tizen_3.X_Security_Manager "Security-Manager"
72 [app-manifest]: http://www.w3.org/TR/appmanifest "Web App Manifest"
73 [tizen-security]: https://wiki.tizen.org/wiki/Security "Tizen security home page"
74 [tizen-secu-3]: https://wiki.tizen.org/wiki/Security/Tizen_3.X_Overview "Tizen 3 security overview"