Prevent user from capturing application image

I am trying to improve data security in my Android application, and I am wondering if there is any tool or something for this problem. I can not find a solution for this on the Internet. I will disable screen capture, but users can still take a screenshot of the device’s display. Perhaps changing the resolution or combining some colors may help in this situation, but I really don't know.

+5
source share
3 answers

In short - you cannot , and not when your legitimate user will be identical to your opponent. If users can see this, they can also take a picture. This is a typical situation with a red cow: the “protection against protection” technology reacts at the same speed as your protection technology: if you come up with non-polarized displays , users will take pictures through polarizing filters; the only thing that really changes is the side effects.

Look at the longer version: Is it possible to protect from downloading videos from the site

(What you could try is to ensure security by legal means, and not technologically: "I hereby agree that I can only use the application if I do not photograph it, in a protected room and alone; I lose access and I have to pay a fine of $ zillion. "It sounds impracticable, but it is even easier to implement and more efficient - mainly because of FUD - than it blocks users technologically. IANAL .;))

+4
source

Well, you cannot stop the user from taking screenshots of the screen! I'm sorry about that. By the way, what is the problem of people taking screenshots of your application? If you could share more information with him, maybe I can help you then.

Best.

+1
source

Try FLAG_SECURE :

public class FlagSecureTestActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE); setContentView(R.layout.main); } } 
0
source

Source: https://habr.com/ru/post/1238088/


All Articles