e28909e971a231ff495e8b4de382d7582392b271
[src/app-framework-main.git] / doc / security-framework.html
1 <html>
2 <head>
3   <link rel="stylesheet" type="text/css" href="doc.css">
4   <meta charset="UTF-8">
5 </head>
6 <body>
7 <a name="The.security.framework"></a>
8 <h1>The security framework</h1>
9
10 <pre><code>version: 1
11 Date:    14 March 2016
12 Author:  José Bollo
13 </code></pre>
14
15 <a name="Setting.Smack.rules.for.the.application"></a>
16 <h1>Setting Smack rules for the application</h1>
17
18 <p>For Tizen, the following rules are set by the security manager for each application.</p>
19
20 <pre><code>System ~APP~             rwx
21 System ~PKG~             rwxat
22 System ~PKG~::RO         rwxat
23 ~APP~  System            wx
24 ~APP~  System::Shared    rxl
25 ~APP~  System::Run       rwxat
26 ~APP~  System::Log       rwxa
27 ~APP~  _                 l
28 User   ~APP~             rwx
29 User   ~PKG~             rwxat
30 User   ~PKG~::RO         rwxat
31 ~APP~  User              wx
32 ~APP~  User::Home        rxl
33 ~APP~  User::App::Shared rwxat
34 ~APP~  ~PKG~             rwxat
35 ~APP~  ~PKG~::RO         rxl
36 </code></pre>
37
38 <p>Here, ~PKG~ is the identifier of the package and ~APP~ is the identifier of the application.</p>
39
40 <a name="What.user.can.run.an.application."></a>
41 <h1>What user can run an application?</h1>
42
43 <p>Not all user are able to run all applications.
44 How to manage that?</p>
45 </body>
46 </html>