TheProductWorks / SMART-android-app

Android version of the SMART Care Tool for the Community Midwifery team in The National Maternity Hospital, Holles Street.
1 stars 0 forks source link

Disable screenshots on android #11

Open Wogiebear opened 8 years ago

Wogiebear commented 8 years ago

Overview

As part of the risk assessment for ISO27001, the possibility of users taking screen captures of the android phone was recognised as a possible risk.

Control

A possible control of this risk would be to restrict the ability of users to take screen grabs using the native android controls. This technique is outlined here:

http://stackoverflow.com/questions/9822076/how-do-i-prevent-android-taking-a-screenshot-when-my-app-goes-to-the-background

otormaigh commented 8 years ago

12 pull request add this feature. When the user is using the app and tries to take a screenshot they will be presented with an error informing them that what they are trying to do has been prevented by the application.