[Security] How to disable file access in Ionic 3


#1

I found a security note on Android Webview : https://blog.trustlook.com/2018/01/19/android-webview-class-poses-significant-security-risk/

By default, file access in webview is enable.
It is recomanded to disable it if we don’t need file access in the app.

It seems that it is possible by setting ‘setAllowFileAccess’ to false in cordova webview settings.

Is it possible to do it for ionic 3 ? i didn’t found any config to set in config.xml or elsewhere.

By developing a cordova plugin just doing this ?

Thanks for your help