Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

[request] whitelist an application itself #2079

Closed
w0rinal opened this issue Dec 6, 2014 · 4 comments
Closed

[request] whitelist an application itself #2079

w0rinal opened this issue Dec 6, 2014 · 4 comments

Comments

@w0rinal
Copy link

w0rinal commented Dec 6, 2014

Would it be possible to automatically add an app to its applications-to-allow-list when applying the template? Either using a quirk or an option to tick?
I don't know the criteria for considering a function in android privacy-invading but in my own honest opinion letting an app itself know it's installed and see its own activities does not invade one's privacy. On the other hand I don't know in-depth how this could leak privacy related information.

BTW sorry for possibly having created this in the wrong section, I'm new to GitHub.

Regards, Nico

@M66B
Copy link
Owner

M66B commented Dec 6, 2014

Your request is on the right place, no worries.

An application already has always access to information about itself in most cases:
https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/XPackageManager.java#L172

I will see if I can do this for more functions.

@w0rinal
Copy link
Author

w0rinal commented Dec 7, 2014

Okay, I see.
Most crashes I experience are caused by restricting the function Srv_queryIntentActivities but the specific app doesn't crash anymore when added to its own whitelist.

Thanks for the quick answer.

@M66B
Copy link
Owner

M66B commented Dec 7, 2014

queryIntentActivities is marked dangerous for a reason.
It is not possible to detect an own activity of the application is being queried in a generic way.

@w0rinal
Copy link
Author

w0rinal commented Dec 7, 2014

I got to know how xprivacy works according to the principle 'trial and error', so I am sorry for kind of dumb questions/suggestions.

But as I said in the first post, what about optionally adding an app to its specific applications whitelist automatically?
To me - as a non-developer - this sounds like it would save you implementing the self-detection for other functions and additionally prevent crashes when restricting queryIntentActivities.
But again, I don't know too much about the technical sides.

But anyway, thanks for clarifying

@M66B M66B closed this as completed in 740f922 Dec 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants