Click here to Skip to main content
15,847,264 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,

After reading the following article, which describes App capability declarations as well as access permissions to certain API's, I was left with a couple of questions.

To start off, I looking into controlling the data access of all applications installed on the device. More specifically, I was thinking of creating a VPN connection that goes nowhere. Basically a black-hole that routes all the traffic into an abuse. This way the user can configure at which times during the day, updates or normal connections are allowed. In other words, control their data.

Which brings me to my concerns. Is this the way to approach this idea or is there another solution that I'm not aware of. Secondly, based on the above mentioned article, only MS partners are allowed to access some of the Special and restricted capabilities[^] - Like:

  • networkingVpnProvider

  • packageManagement


Does this mean that the idea is doomed from the start? I know that everything I just mentioned is doable in Android, but UWP is a different story.

Many thanks in advance!
Kind regards,

What I have tried:

Tried to create a demo project, but get access denied when I try and access some of the restricted capabilities in UWP.
Posted
Comments
El_Codero 29-Jun-16 16:24pm    
interesting problem..I must say I don't have expierence with UWP but did you try to run your app as admin? In addition this could be an interesting discussion about your problem."The functionality described in this topic is not available to all Windows and Windows Phone apps. For your code to call these APIs, Microsoft must approve your use of them and provision your developer account. Otherwise the calls will fail at runtime." haha, MS would like to know more about your vpn connection first :D Regards

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900