Edit TV profile addition change 08/138408/6
authorEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Wed, 12 Jul 2017 06:08:01 +0000 (09:08 +0300)
committerEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Mon, 16 Oct 2017 11:15:50 +0000 (14:15 +0300)
This is a manual cherry pick of change #126874 in the tizen_3.0
branch.

PS2: Removed mention of geolocation API for TV (which is not supported).
PS3: Removed unused table column.
PS4: Fixed links to TV W3C AR.
PS5: Rebased
PS6: Removed internet privilege for TV, per query answer.

Change-Id: I2b2c8a0435587ab458e372ecd807f344aed61929

org.tizen.training/html/native/details/sec_privileges_n.htm
org.tizen.training/html/web/details/sec_privileges_w.htm

index 4f8ea33..a18d0de 100644 (file)
@@ -18,15 +18,23 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </style>
 </head>
 
-<body class="no-toc" onload="prettyPrint()" style="overflow: auto;">
+<body onload="prettyPrint()" style="overflow: auto;">
 
 <div id="toc-navigation">
+    <div id="profile">
+               <p><img alt="Mobile native" src="../../images/mobile_s_n.png"/> <img alt="Wearable native" src="../../images/wearable_s_n.png"/></p>
+    </div>
+    <div id="toc_border"><div id="toc">
+               <p class="toc-title">Content</p>
+               <ul class="toc">
+                       <li><a href="#mobile">Mobile Native API Privileges</a></li>
+                       <li><a href="#wearable">Wearable Native API Privileges</a></li>
+                       <li><a href="#nonAPI">Non-API Bound Privileges</a></li>
+               </ul>
+    </div></div>
 </div>
 
 <div id="container"><div id="contents"><div class="content">
-       <div id="profile">
-               <p><img alt="Mobile native" src="../../images/mobile_s_n.png"/> <img alt="Wearable native" src="../../images/wearable_s_n.png"/></p>
-       </div>
 
 <h1>Security and API Privileges</h1>
 
@@ -49,7 +57,9 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 
 <p>The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see <a href="../../../../org.tizen.studio/html/native_tools/api_checker_n.htm">Verifying APIs and Privileges</a>.</p>
 
-<p>The following tables list the API privileges, which you must to declare when using security-sensitive API modules.</p>
+<h2 id="mobile">Mobile Native API Privileges</h2>
+
+<p>The following table lists the API privileges, which you must declare when using security-sensitive API modules in mobile native applications.</p>
 
 <p align="center" class="Table"><strong>Table: Mobile native API privileges</strong></p>
 <table>
@@ -732,6 +742,10 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </tbody>
 </table>
 
+<h2 id="wearable">Wearable Native API Privileges</h2>
+
+<p>The following table lists the API privileges, which you must declare when using security-sensitive API modules in wearable native applications.</p>
+
 <p align="center" class="Table"><strong>Table: Wearable native API privileges</strong></p>
 <table>
 <tbody>
index dc57635..132ffdc 100644 (file)
@@ -18,15 +18,23 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </style>
 </head>
 
-<body class="no-toc" onload="prettyPrint()" style="overflow: auto;">
+<body onload="prettyPrint()" style="overflow: auto;">
 
 <div id="toc-navigation">
-</div>
-
-<div id="container"><div id="contents"><div class="content">
        <div id="profile">
                <p><img alt="Mobile Web" src="../../images/mobile_s_w.png"/> <img alt="Wearable Web" src="../../images/wearable_s_w.png"/> <img alt="TV Web" src="../../images/tv_s_w.png"/></p>
        </div>
+    <div id="toc_border"><div id="toc">
+               <p class="toc-title">Content</p>
+               <ul class="toc">
+                       <li><a href="#mobile">Mobile Web API Privileges</a></li>
+                       <li><a href="#wearable">Wearable Web API Privileges</a></li>
+                       <li><a href="#tv">TV Web API Privileges</a></li>
+               </ul>
+    </div></div>
+</div>
+
+<div id="container"><div id="contents"><div class="content">
 
 <h1>Security and API Privileges</h1>
 
@@ -48,10 +56,12 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 
 <p>The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see <a href="../../../../org.tizen.studio/html/web_tools/privilege_checker_w.htm">Verifying Privilege Usage</a>.</p>
 
-<p>The following tables list the API privileges, which you must to declare when using security-sensitive API modules.</p>
+<h2 id="mobile">Mobile Web API Privileges</h2>
+
+<p>The following tables list the API privileges, which you must declare when using security-sensitive API modules in mobile Web applications.</p>
 
 <p align="center" class="Table"><strong>Table: Mobile Web Device API privileges</strong></p>
-<table id="privileges">
+<table>
 <tbody>
 <tr>
        <th>Privilege</th>
@@ -428,7 +438,7 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </table>
 
 <p align="center" class="Table"><strong>Table: Mobile Web W3C/HTML5 API privileges</strong></p>
-<table id="privileges">
+<table>
 <tbody>
 <tr>
        <th>Privilege</th>
@@ -507,8 +517,12 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </tbody>
 </table>
 
+<h2 id="wearable">Wearable Web API Privileges</h2>
+
+<p>The following tables list the API privileges, which you must declare when using security-sensitive API modules in wearable Web applications.</p>
+
 <p align="center" class="Table"><strong>Table: Wearable Web Device API privileges</strong></p>
-<table id="privileges">
+<table>
 <tbody>
 <tr>
        <th>Privilege</th>
@@ -780,7 +794,7 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </table>
 
 <p align="center" class="Table"><strong>Table: Wearable Web W3C/HTML5 API privileges</strong></p>
-<table id="privileges">
+<table>
 <tbody>
 <tr>
        <th>Privilege</th>
@@ -830,7 +844,7 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </table>
 
 <p align="center" class="Table"><strong>Table: Wearable Web Supplementary API privileges</strong></p>
-<table id="privileges">
+<table>
 <tbody>
 <tr>
        <th>Privilege</th>
@@ -862,6 +876,10 @@ tr.partner-level, tr.platform-level { background-color: #cff }
 </tbody>
 </table>
 
+<h2 id="tv">TV Web API Privileges</h2>
+
+<p>The following tables list the API privileges, which you must declare when using security-sensitive API modules in TV Web applications.</p>
+
 <p align="center" class="Table"><strong>Table: TV Web Device API privileges</strong></p>
 <table>
        <tbody>
@@ -871,14 +889,198 @@ tr.partner-level, tr.platform-level { background-color: #cff }
                        <th>Since</th>
                        <th>Description</th>
                </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/alarm</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can retrieve saved alarms and wake up the device at scheduled times.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/application.info</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can retrieve information related to other applications.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/application.launch</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can open other applications using the application ID or application control.</td>
+               </tr>
+               <tr class="partner-level">
+                       <td class="key">http://tizen.org/privilege/appmanager.certificate</td>
+                       <td>partner</td>
+                       <td>3.0</td>
+                       <td>The application can retrieve specified application certificates.</td>
+               </tr>
+               <tr class="partner-level">
+                       <td class="key">http://tizen.org/privilege/appmanager.kill</td>
+                       <td>partner</td>
+                       <td>3.0</td>
+                       <td>The application can close other applications.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/content.read</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can read media content information.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/content.write</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can change media information. This information can be used by other applications.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/datacontrol.consumer</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can read data exported by data control providers.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/download</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can manage HTTP downloads. This can result in additional charges depending on the user's payment plan.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/filesystem.read</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can read file systems.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/filesystem.write</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can write to file systems.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/fullscreen</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can use the full screen view.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/keymanager</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can save keys, certificates, and data to, and retrieve and delete them from, a password-protected storage. Checking the status of certificates while connected to a mobile network can result in additional charges depending on the user's payment plan.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/led</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can switch LEDs on or off, such as the LED on the front of the device and the camera flash.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/package.info</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can retrieve information about installed packages.</td>
+               </tr>
+               <tr class="platform-level">
+                       <td class="key">http://tizen.org/privilege/packagemanager.install</td>
+                       <td>platform</td>
+                       <td>3.0</td>
+                       <td>The application can install or uninstall application packages.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/push</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can receive notifications from the Internet. This can result in additional charges depending on the user's payment plan.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/system</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can read system information.</td>
+               </tr>
+               <tr class="partner-level">
+                       <td class="key">http://tizen.org/privilege/systemmanager</td>
+                       <td>partner</td>
+                       <td>3.0</td>
+                       <td>The application can read secure system information.</td>
+               </tr>
                <tr class="partner-level">
                        <td class="key">http://tizen.org/privilege/tee.client</td>
                        <td>partner</td>
                        <td>4.0</td>
                        <td>The application can communicate with a Trusted Application.</td>
                </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/telephony</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can retrieve telephony information, such as the network and SIM card used, the IMEI, and the status of calls.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/tv.audio</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can change the volume, enable and disable the silent mode, detect volume changes, and play beeps.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/tv.channel</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can change the TV channel, read information about TV channels and programs, and receive notifications when the TV channel has been changed.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/tv.display</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can check whether a device supports 3D and read information about the 3D mode.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/tv.inputdevice</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can capture the key events of an input device, such as TV remote control, and release key grabbing.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/tv.window</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can embed the display of a video source, specify the size, and show or hide the embedded display.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/volume.set</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can adjust the volume for different features, such as notification alerts, ringtones, and media.</td>
+               </tr>
+               <tr>
+                       <td class="key">http://tizen.org/privilege/websetting</td>
+                       <td>public</td>
+                       <td>3.0</td>
+                       <td>The application can change its Web application settings, including deleting cookies.</td>
+               </tr>
        </tbody>
 </table>
+
+<p align="center" class="Table"><strong>Table: TV Web W3C/HTML5 API privileges</strong></p>
+<table>
+<tbody>
+<tr>
+       <th>Privilege</th>
+       <th>Level</th>
+       <th>Since</th>
+       <th>Description</th>
+</tr>
+<tr>
+       <td class="key">http://tizen.org/privilege/unlimitedstorage</td>
+       <td>public</td>
+       <td>3.0</td>
+       <td>The application can use the storage with unlimited size with the <a href="../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_tv.html#database">Indexed Database</a> API.
+       <p><strong>Privilege behavior:</strong></p>
+       <ul><li>In the local domain, if this privilege is defined, permission is granted. Otherwise, pop-up user prompt is used.</li>
+<li>In the remote domain, pop-up user prompt is used.</li></ul></td>
+</tr>
+</tbody>
+</table>
+
 <script type="text/javascript" src="../../scripts/jquery.zclip.min.js"></script>
 <script type="text/javascript" src="../../scripts/showhide.js"></script>
 </div></div></div>