SEAdmin shows you how you can change AppOps settings programmatically.
I'm not sure though about your scenario; I don't know if the current
AppOps infrastructure allows for tracking usage of the app operations
(there are some other usage statistics introduced in 5.0, but I don't
know that those include any information about appop usage).

On 01/08/2015 10:04 AM, harish kavali wrote:
> Dear Stephen,
> Thanks for ur reply
> 
> Can we update the eops.XML programatically
> Or
> Is it possible to control the appsops
> 
> Regards
> harish K
> 
> On Jan 8, 2015 8:16 PM, "Stephen Smalley" <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     On 01/08/2015 01:11 AM, harish kavali wrote:
>     > Dear all,
>     >
>     >
>     >       is it possible to revoke certain permissions for untrusted apps
>     > dynamically. for eg i want to revoke send sms permission for an
>     > application (running in untrusted domain) when it reaches some count
>     > (say 200 sms).
> 
>     Maybe using AppOps, although I don't think that the SMS operations are
>     currently exposed as public string constants and thus cannot be used
>     from the appops command.  We have an extension to AppOps called
>     Enterprise Ops to support locking certain operations based on a
>     policy, see:
>     https://android-review.googlesource.com/#/c/73810/
>     and
>     http://seandroid.bitbucket.org/EnterpriseOperationsEOps.html
> 
>     This is included in our branches (e.g. seandroid-5.0.2) and we also
>     expose a user interface for changing the AppOps settings via our SEAdmin
>     app, also included if you are using our local manifest file,
>     http://seandroid.bitbucket.org/Usingareleaseversion.html
> 
> 
> 
> 
> _______________________________________________
> Seandroid-list mailing list
> [email protected]
> To unsubscribe, send email to [email protected].
> To get help, send an email containing "help" to 
> [email protected].
> 

_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to