Closed
Bug 707636
Opened 13 years ago
Closed 12 years ago
Define safe permissions to local DB's ContentProvider to only allow sync to access it
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(1 file)
1.18 KB,
patch
|
blassey
:
review+
rnewman
:
feedback+
|
Details | Diff | Splinter Review |
Sign both apps with same signature? Granting custom access to Sync app? We need figure out the right/safe way to do it.
Comment 1•13 years ago
|
||
we are probably just going to import their code, and build it ourselves. more info coming and tbd.
Comment 2•13 years ago
|
||
Sync will ship with us, no permissions needed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Comment 3•13 years ago
|
||
If we don't have access during development, then shipping becomes a tad bit more difficult!
This should be as simple as adding protectionLevel="signature" to a permission element and marking it as exported, which allows only apps signed with the same signature to access that element, and otherwise forbids access entirely.
http://developer.android.com/guide/topics/manifest/permission-element.html
Alternatively, please morph this bug into "Share sharedUserId between Native Sync and Native Fennec AndroidManifest.xml files". One or the other must be done, or we can't access the provider from our builds.
Comment 4•13 years ago
|
||
or... you could just do your dev in hg/mozilla-central.
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #580159 -
Flags: review?(blassey.bugs)
Attachment #580159 -
Flags: feedback?(rnewman)
Comment 6•13 years ago
|
||
Comment on attachment 580159 [details] [diff] [review]
Use "signature" permissions on BrowserProvider
Is a provider exported="true" by default? Still might add that to be explicit.
Comment 7•13 years ago
|
||
Comment on attachment 580159 [details] [diff] [review]
Use "signature" permissions on BrowserProvider
Review of attachment 580159 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, exported defaults to true. Looks like the right solution according to the docs. f+.
Attachment #580159 -
Flags: feedback?(rnewman) → feedback+
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lucasr.at.mozilla
Updated•13 years ago
|
Attachment #580159 -
Flags: review?(blassey.bugs) → review+
Updated•13 years ago
|
Priority: -- → P4
Assignee | ||
Comment 8•13 years ago
|
||
Assignee | ||
Comment 9•12 years ago
|
||
Looks like this has been fixed a long time ago. Closing.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 12 years ago
Resolution: --- → WORKSFORME
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•