-
Notifications
You must be signed in to change notification settings - Fork 527
storage redirection #1079
Comments
Android restricts access to storage by using a special group id for the XPrivacy changes the effective group membership of an app when it loads. As the sdcard is generally formatted using the FAT filesystem which doesn't I know kitkat does separate user directories, but I guess that is done on a On 8 January 2014 17:58, M1cha [email protected] wrote:
|
@jpeg729 look into XIoBridge ;-) |
Is there a way to change (spoof) path for SD card for each app? If so, perhaps mounting /storage/sdcard_blah/ that points to /storage/sdcard/myfolder/ would be doable? |
This is exactly what was initially asked for ... |
Ops...but the question wasn't actually answered, I think... |
doing that for java shouldn't be any problem. if they obtain the storage path you can return another one. if they directly open the path(which is bad style btw) like "/sdcard" it could be changed with some work, too. The big problem I see are native apps(like unity3d games). We would have to intercept libc calls somehow which could get complicated. And then there would still be problems with statically compiled libs. I don't think that there's a 100% solution. |
I am going to close this issue, since the recent versions of XPrivacy will allow you to deny/allow on per file basis, also on demand. Later there will probably be a white list, see #1375 |
ok that's nice btw does the permission denial implementation prevent apps from accessing features via native code or is this module completely useless in case I allow them loading their libs? |
That is what the IPC category is for ... |
sry I didn't try all features of the new versions yet. |
It would be nice if storage access could be redirected into a sub folder so I can give apps storage access without allowing them to read any other files
The text was updated successfully, but these errors were encountered: