Reputation: 57
I am developing an app for a uni project that was going to allow users to send data to an office device with NFC but it leaves me with a security concern.
The office device would only be used to collect certain data from multiple users via the beam. Am I able to restrict that device to only accept data from a certain app? I wouldn't want them to be able to push pictures,contacts or anything malicious etc onto the device. All the office device would need to do is receive data from one application. I was looking to use it as an alternative to wi-fi.
I'm still not very experienced in programming but I figure I would need to restrict the office device on a system level to only accept certain mime-types. Does the device admin app allow for development of such policies or is that limited to the password/encryption security stuff? Is NFC all or nothing?
Thanks.
Upvotes: 0
Views: 251
Reputation: 1006779
Am I able to restrict that device to only accept data from a certain app?
Only by making your own custom build of Android and installing it on the device as a ROM mod.
Does the device admin app allow for development of such policies
No, sorry.
Is NFC all or nothing?
NFC is limited to what the user of the device has in terms of apps that can receive. If the device lacks apps that receive "pictures,contacts or anything malicious", then others cannot beam such content over.
Upvotes: 1