clean markdown documentation
[src/app-framework-main.git] / docs / 5.2-security-framework.md
1 # The security framework
2
3 NOT STARTED !!!!!!
4
5 ## Setting Smack rules for the application
6
7 For Tizen, the following rules are set by the security manager for each application.
8
9     System ~APP~             rwx
10     System ~PKG~             rwxat
11     System ~PKG~::RO         rwxat
12     ~APP~  System            wx
13     ~APP~  System::Shared    rxl
14     ~APP~  System::Run       rwxat
15     ~APP~  System::Log       rwxa
16     ~APP~  _                 l
17     User   ~APP~             rwx
18     User   ~PKG~             rwxat
19     User   ~PKG~::RO         rwxat
20     ~APP~  User              wx
21     ~APP~  User::Home        rxl
22     ~APP~  User::App::Shared rwxat
23     ~APP~  ~PKG~             rwxat
24     ~APP~  ~PKG~::RO         rxl
25
26 Here, ~PKG~ is the identifier of the package and ~APP~ is the identifier of the application.
27
28 ## What user can run an application`?`
29
30 Not all user are able to run all applications.  
31 How to manage that?
32
33 [meta-intel]:       https://github.com/01org/meta-intel-iot-security                "A collection of layers providing security technologies"
34 [widgets]:          http://www.w3.org/TR/widgets                                    "Packaged Web Apps"
35 [widgets-digsig]:   http://www.w3.org/TR/widgets-digsig                             "XML Digital Signatures for Widgets"
36 [libxml2]:          http://xmlsoft.org/html/index.html                              "libxml2"
37 [openssl]:          https://www.openssl.org                                         "OpenSSL"
38 [xmlsec]:           https://www.aleksey.com/xmlsec                                  "XMLSec"
39 [json-c]:           https://github.com/json-c/json-c                                "JSON-c"
40 [d-bus]:            http://www.freedesktop.org/wiki/Software/dbus                   "D-Bus"
41 [libzip]:           http://www.nih.at/libzip                                        "libzip"
42 [cmake]:            https://cmake.org                                               "CMake"
43 [security-manager]: https://wiki.tizen.org/wiki/Security/Tizen_3.X_Security_Manager "Security-Manager"
44 [app-manifest]:     http://www.w3.org/TR/appmanifest                                "Web App Manifest"
45 [tizen-security]:   https://wiki.tizen.org/wiki/Security                            "Tizen security home page"
46 [tizen-secu-3]:     https://wiki.tizen.org/wiki/Security/Tizen_3.X_Overview         "Tizen 3 security overview"