Feature #266
closedSetting to disable screen capture
0%
Description
This will disable screenshots and screen recording. The restriction will be disabled by default.
https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE
https://developer.android.com/reference/android/view/Display.html#FLAG_SECURE
Updated by Soren Stoutner almost 7 years ago
- Subject changed from Setting to disable screenshots to Setting to disable screen capture
- Description updated (diff)
Updated by Soren Stoutner almost 7 years ago
Also, not everything is disabled:
https://commonsware.com/blog/2016/06/06/psa-flag-secure-window-leaks.html
Updated by Soren Stoutner almost 7 years ago
Should be specified before `setContentView()` to prevent screenshots in the recent list.
Updated by Soren Stoutner over 6 years ago
- Priority changed from 3.x to Next Release
Bumped up due to user request. Also, it should be easy to implement.
Updated by Soren Stoutner over 6 years ago
I have changed my mind about the default. I think screenshots should be disabled by default (the most secure option).
Updated by Soren Stoutner over 6 years ago
Completely mitigating this issue would require invasive overwriting of code, and even then would not disable video recording of the keyboard, which is much more sensitive then the spinners and menus.
https://github.com/commonsguy/cwac-security/blob/master/docs/FLAGSECURE.md
Updated by Soren Stoutner over 6 years ago
- Status changed from New to Closed
When the screenshot setting is disabled, screenshots are not allowed if any part of Privacy Browser is showing. Videos also show black except for the options menu, spinners, and the keyboard.
Implemented in commit https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=0a5d2eabceeafb49a957598538aa74d4f11dfce0.