Is there any way to prohibit exporting files in my UIDocumentBrowserViewController-based application that also provides a FileProvider?
- The user should only be allowed to view and edit files in the app.
- The user should be able to move files around within the
FileProviderresource, add new folders, ...
Context:
- I'm building an enterprise app that grants access to a network file system with sensitive information.
- I'm using a
FileProviderextension that only can be used inside my app. - I thought of achieving this via the
FPUIActionExtensionViewControllerby throwing authentication errors if theFileProvideris being accessed from other apps. - I want to avoid building my own UI and use the one that Apple provides for free.
No, not really. Neither would it make sense to have such a control since taking a screenshot is trivial, and even if you could disable that, taking a photo of the screen is still possible.