Prevent recording or sharing of application interfaces in macOS

Hello

I am working on a mac OS application that provides students with courses. due to the subscription plans the customers want, I can't risk the content by letting the user record or share the screen with others.

I have done a very intense search about an API or configuration to prevent the mac OS user record or sharing screen, but unfortunately, I didn't find a good or working answer.

In Android, there is (LayoutParams.FLAG_SECURE) to do what I want.

Is there a way to block screen records or share? 

Thanks

It is not possible to screenshot from withi an app, but it is possible to screen shot "manually". And nothing will prevent from capturing photo from another device…

However, you may look at this :

https://stackoverflow.com/questions/46221825/how-to-prevent-users-taking-screenshots-of-app-on-ios

Prevent recording or sharing of application interfaces in macOS
 
 
Q