dd4e72a62d124e4d4b11cacd64a2bc65254516bb
[src/app-framework-main.git] / doc / security-framework.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4   <meta charset="utf-8">
5   <meta name="generator" content="pandoc">
6   <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
7   <meta name="author" content="José Bollo">
8   <title>The security framework</title>
9   <style type="text/css">code{white-space: pre;}</style>
10   <!--[if lt IE 9]>
11     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12   <![endif]-->
13   <link rel="stylesheet" href="doc.css">
14 </head>
15 <body>
16 <header>
17 <h1 class="title">The security framework</h1>
18 <h2 class="author">José Bollo</h2>
19 <h3 class="date">24 juin 2016</h3>
20 </header>
21 <nav id="TOC">
22 <ul>
23 <li><a href="#the-security-framework">The security framework</a><ul>
24 <li><a href="#setting-smack-rules-for-the-application">Setting Smack rules for the application</a></li>
25 <li><a href="#what-user-can-run-an-application">What user can run an application?</a></li>
26 </ul></li>
27 </ul>
28 </nav>
29 <h1 id="the-security-framework">The security framework</h1>
30 <p>NOT STARTED !!!!!!</p>
31 <h2 id="setting-smack-rules-for-the-application">Setting Smack rules for the application</h2>
32 <p>For Tizen, the following rules are set by the security manager for each application.</p>
33 <pre><code>System ~APP~             rwx
34 System ~PKG~             rwxat
35 System ~PKG~::RO         rwxat
36 ~APP~  System            wx
37 ~APP~  System::Shared    rxl
38 ~APP~  System::Run       rwxat
39 ~APP~  System::Log       rwxa
40 ~APP~  _                 l
41 User   ~APP~             rwx
42 User   ~PKG~             rwxat
43 User   ~PKG~::RO         rwxat
44 ~APP~  User              wx
45 ~APP~  User::Home        rxl
46 ~APP~  User::App::Shared rwxat
47 ~APP~  ~PKG~             rwxat
48 ~APP~  ~PKG~::RO         rxl</code></pre>
49 <p>Here, <sub>PKG</sub> is the identifier of the package and <sub>APP</sub> is the identifier of the application.</p>
50 <h2 id="what-user-can-run-an-application">What user can run an application?</h2>
51 <p>Not all user are able to run all applications. How to manage that?</p>
52 </body>
53 </html>