Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Objective of Kitkat SD Card Permissions

OP nlatifolia

3rd February 2014, 02:28 AM   |  #1  
nlatifolia's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 37
 
161 posts
Join Date:Joined: Jan 2014
Donate to Me
More
Regarding 4.4 Kitkat External SD Card access permision, anyone can explain to us what is the objective of having such rigid permissions ?

"....

Starting in Android 4.4, the owner, group and modes of files on external storage devices are now synthesized based on directory structure. This enables apps to manage their package-specific directories on external storage without requiring they hold the broad WRITE_EXTERNAL_STORAGE permission. For example, the app with package name com.example.foo can now freely access Android/data/com.example.foo/ on external storage devices with no permissions. These synthesized permissions are accomplished by wrapping raw storage devices in a FUSE daemon.
..."

Full source : http://source.android.com/devices/tech/storage/
3rd February 2014, 10:41 AM   |  #2  
aydc's Avatar
Senior Member
Thanks Meter: 379
 
998 posts
Join Date:Joined: Jul 2006
On 4.3 and older, a malicious app can wipe the whole sdcard with standard permissions. New permissions prevent it.
The Following User Says Thank You to aydc For This Useful Post: [ View ]
3rd February 2014, 04:36 PM   |  #3  
nlatifolia's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 37
 
161 posts
Join Date:Joined: Jan 2014
Donate to Me
More
Quote:
Originally Posted by aydc

On 4.3 and older, a malicious app can wipe the whole sdcard with standard permissions. New permissions prevent it.

So this is useful then not a considered 'bug'..

I guess there will be no benefits anymore to use 3rd party file manager if we dont root our phones. Niche market just collapsed.
4th February 2014, 02:07 AM   |  #4  
Senior Member
Thanks Meter: 96
 
460 posts
Join Date:Joined: Jan 2014
Sorry, but I have follow up questions:
I wonder how many malicious pieces of software like that are in a Google Play store to warrant breaking most third party applications that write to SD card? But I guess now, that apps can't write to SD card, there will be not much to protect there anyhow? And how will this all work in the future, once apps get their permissions fixed? I won't be allowed to access my card or format it at will? or will I be able to grant those permissions, but then how would I know the software is malicious any more than I know now? Am I too stupid to grasp the logic of all this?
4th February 2014, 04:56 AM   |  #5  
nlatifolia's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 37
 
161 posts
Join Date:Joined: Jan 2014
Donate to Me
More
Quote:
Originally Posted by pete4k

Sorry, but I have follow up questions:
I wonder how many malicious pieces of software like that are in a Google Play store to warrant breaking most third party applications that write to SD card? But I guess now, that apps can't write to SD card, there will be not much to protect there anyhow? And how will this all work in the future, once apps get their permissions fixed? I won't be allowed to access my card or format it at will? or will I be able to grant those permissions, but then how would I know the software is malicious any more than I know now? Am I too stupid to grasp the logic of all this?

That's what I had in mind too but if you see from the source link above I think Google is anticipating MULTI USER environment where some "stuffs" from me could wrack havoc some of "your stuffs". That scenario actually will only happen on MULTI USER tablet / smartphone, but that surely not mainstream are they ?
4th February 2014, 07:54 AM   |  #6  
Member
Flag Brescia
Thanks Meter: 5
 
43 posts
Join Date:Joined: Nov 2008
More
Quote:
Originally Posted by pete4k

Sorry, but I have follow up questions:
I wonder how many malicious pieces of software like that are in a Google Play store to warrant breaking most third party applications that write to SD card? But I guess now, that apps can't write to SD card, there will be not much to protect there anyhow? And how will this all work in the future, once apps get their permissions fixed? I won't be allowed to access my card or format it at will? or will I be able to grant those permissions, but then how would I know the software is malicious any more than I know now? Am I too stupid to grasp the logic of all this?

As stated on source.android.com:

Starting in Android 4.4, the owner, group and modes of files on external storage devices are now synthesized based on directory structure. This enables apps to manage their package-specific directories on external storage without requiring they hold the broad WRITE_EXTERNAL_STORAGE permission. For example, the app with package name com.example.foo can now freely access Android/data/com.example.foo/ on external storage devices with no permissions. These synthesized permissions are accomplished by wrapping raw storage devices in a FUSE daemon.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes