Skip to content

Commit 1f0a48d

Browse files
Documentation suggestion
Co-authored-by: Felicity Chapman <[email protected]>
1 parent b6270eb commit 1f0a48d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

java/ql/src/Security/CWE/CWE-926/ContentProviderIncompletePermissions.qhelp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
"qhelp.dtd">
44
<qhelp>
55
<overview>
6-
<p>In the Android manifest file, an application's <code>provider</code> elements
7-
define the permissions necessary to access a resource using that provider.
8-
Permissions are specified with
6+
<p>The Android manifest file contains <code>provider</code> elements that you should use to specify the explicit permissions an application requires to access a resource using that provider.
7+
You specify the permissions using
98
the <code>android:readPermission</code>, <code>android:writePermission</code>,
10-
or <code>android:permission</code> attributes. If an application only
11-
specifies the <code>android:readPermission</code>
12-
or <code>android:writePermission</code> attribute, no permissions will be
13-
required to do other operations.
9+
or <code>android:permission</code> attributes.
10+
If you do not specify the permission required to perform an operation, the application will implicitly have access to perform that operation.
11+
For example, if you specify only <code>android:readPermission</code>, the application must have explicit permission to read data, but requires no permission to write data.
1412
</p>
1513

1614
</overview>

0 commit comments

Comments
 (0)