You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/20 14:29:37 UTC

[GitHub] [cordova-plugin-file] breautek commented on issue #510: Android deletes folders with images after Jan, 2022 security update

breautek commented on issue #510:
URL: https://github.com/apache/cordova-plugin-file/issues/510#issuecomment-1132964760

   > @breautek Is it possible to load files from **cordova.file.applicationStorageDirectory** or **cordova.file.dataDirectory** while avoiding the "**AndroidInsecureFileModeEnabled**" being set to true?
   
   It should be possible to read files from either those 2 plugins using the file plugin. The `AndroidInsecureFileModeEnabled` flag controls an option on the webview to allow file:// urls with webview features, such as loading CSS/javascript or XHR requests, which poses a security issue (although tbh, I'm not sure exactly what about it is insecure, but Google has a warning in the documentation about security issues).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org