diff options
author | Makoto Onuki <omakoto@google.com> | 2012-08-13 17:56:25 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2012-08-14 11:48:17 -0700 |
commit | 623659ebf4875e63bf4fef1e0b00096e09121853 (patch) | |
tree | 87a983ac5b4e9602ee488958294b055d919c087e /res/values | |
parent | e8956364a9cf4ec0f463768a6116fdcda8635b13 (diff) | |
download | packages_providers_ContactsProvider-623659ebf4875e63bf4fef1e0b00096e09121853.zip packages_providers_ContactsProvider-623659ebf4875e63bf4fef1e0b00096e09121853.tar.gz packages_providers_ContactsProvider-623659ebf4875e63bf4fef1e0b00096e09121853.tar.bz2 |
Make "export contacts database" more secure
Don't put the dump file on the SD card. Instead, put it in the internal cache
directory which is protected by the filesystem permissions.
In order to make it attachable on gmail, create a shim content provider and
sends a content: URI for this provider.
The dump file can be read only from the apps that knows its name, which
we pass via the SEND intent. Each dump file has a unique 256-bit random name,
so it's virtually impossible to for other apps to read them.
Bug 6813842
Change-Id: I3ca081e696e4e432e2bf7eb701595c508cd19409
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index e17b5ed..5291017 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -62,8 +62,8 @@ <!-- Debug tool - title of the dialog which copies the contact database into the external storage. [CHAR LIMIT=NONE] --> <string name="debug_dump_title">Copy contacts database</string> - <!-- Debug tool - message shown to the user on the dialog which copies the contact database into the external storage. [CHAR LIMIT=NONE] --> - <string name="debug_dump_database_message">You are about to 1) make a copy of your database which includes all contacts related information and all call log to the SD card/USB storage, which is readable by any app, and 2) email it. Remember to delete the copy as soon as you have successfully copied it off the device or the email is received.</string> + <!-- Debug tool - message shown to the user on the dialog which sends a copy of the contact database via email or other apps. [CHAR LIMIT=NONE] --> + <string name="debug_dump_database_message">You are about to 1) make a copy of your database which includes all contacts related information and all call log to the internal storage, and 2) email it. Remember to delete the copy as soon as you have successfully copied it off the device or the email is received.</string> <!-- Debug tool - dialog button- delete file now [CHAR LIMIT=NONE] --> <string name="debug_dump_delete_button">Delete now</string> |