Inspectopedia Help

File.setWritable() used to make file world-writable

File.setWritable() used to make file world-writable

Setting files world-writable is very dangerous, and likely to cause security holes in applications. It is strongly discouraged; instead, applications should use more formal mechanisms for interactions such as ContentProvider, BroadcastReceiver, and Service.

Issue id: SetWorldWritable

https://goo.gle/SetWorldWritable

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023