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