question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prevent screenshots

See original GitHub issue

Screenshots of the app can be taken and its content is not hidden in recent apps preview, this poses a huge security risk and protection should be mandatory or at least optional but enabled by default. Please add Android’s FLAG_SECURE and enable it by default.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
vurpocommented, Feb 27, 2020

I don’t know if this would be useful or wanted by most. What kind of security risk does it pose that screenshots can be taken of the app? You’re still not preventing anyone from copying messages or other information out of the app.

0reactions
bmartycommented, Feb 29, 2020

Yes, I globally agree with you. If user enables the setting it’s their choice. Also we are not always sure that we can trust the system, or even trust that our code has no security issue. Else why using an encrypted database to cache data, already saved to the application private storage area?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to prevent users from taking screenshots of ...
In MacOS, we can use Command + Shift + 3 and Command + Shift + 4 for taking screenshot. All these commands are...
Read more >
Anti-Screen Capture - OPSWAT
The OESIS Framework Anti-Screen Capture SDK prevents unauthorized or accidental screenshots and recording ... Prevent malicious and accidental screenshots.
Read more >
Block screenshots using Microsoft Information Protection
Other than it being fun, blocking screenshots isn't the safest way to protect data exfiltration. While it's a useful step, almost everyone has...
Read more >
ScreenShieldKit - Protect your app from screenshots
ScreenShieldKit's patented technology prevents screenshots of the sensitive content in your iOS app.
Read more >
Screenshot preventing on mobile apps | by Michał Międlarz
Android. Luckily, the Android system provides a built-in mechanism for blocking screenshots which is available from Android Honeycomb (3.0). It literally takes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found