-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
EnhancementThis is a feature request to add functionality that is not currently supportedThis is a feature request to add functionality that is not currently supportedIssue TriageThe engineering team has looked into the issue, understood the issue, labelled/classified the issueThe engineering team has looked into the issue, understood the issue, labelled/classified the issue
Description
Hi,
Our application uses this plugin, and is getting flagged when scanned in data theorem. There is a finding wherein we need to protect the app screen from 3rd Party Apps.
These are additional information from data theorem:
- The following classes in the affected component are currently exposed:
com.microsoft.aad.adal.AuthenticationActivity
- Recommendation is:
- Protect all sensitive windows within the App by enabling the FLAG_SECURE flag. This flag will prevent Apps from being able to record the protected windows. Also, the flag will prevent users from taking screenshots of these windows (by pressing the VOLUME_DOWN and POWER buttons). As such screenshots are stored on the SDCard by default, they are accessible to all Apps and sensitive data may be exposed.
- snippet of the code
// Secure code for protecting one Activity
public class SecureActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set the Secure flag for this Window
getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);
}
}
I hope you could help us regarding this and, if this is possible, we would like to request the recommended fix to be applied to the version 1 of your plugin.
Thank you!
Metadata
Metadata
Assignees
Labels
EnhancementThis is a feature request to add functionality that is not currently supportedThis is a feature request to add functionality that is not currently supportedIssue TriageThe engineering team has looked into the issue, understood the issue, labelled/classified the issueThe engineering team has looked into the issue, understood the issue, labelled/classified the issue