Thank you for all your tips. I found the way to get exclusive access to USB Devices and this helped to avoid using device by other clients.
However, the problem is that my application must be the first. Otherwise kIOReturnExclusiveAccess is returned if another client refuses IOUSBInterface closing.
Endpoint Security is a very powerful framework. However, are there any way to open enhancement request for Endpoint Security? I believe, it would be great to have something like driver filter. Such functionality will allow to develop applications, which prevents data breaches, much more easily.
Many 3rd party apps implement their own data transfer solution, typically by having the iOS app run a web server which the mac can then connect through and upload to through Safari.
Thank you for this valuable comment. I will investigate this separately.
I am very grateful for your assistance.