Display encrypted file using QuickLook framework or UiDocumentInteractionController

后端 未结 4 964
迷失自我
迷失自我 2021-02-09 13:34

I have an encrypted word/excel/pdf file locally stored which I need to preview in my iPad app. I understand that QLPreviewController or UiDocumentInteractionController could be

4条回答
  •  借酒劲吻你
    2021-02-09 14:30

    Actually, writing a file to a tmp directory is still insecure. The other alternative is to use UIWebView with NSURLProtocol and allow decrypting this data on the fly.

提交回复
热议问题