File I/O and Logging (FIO)
Contents
Android Only
- Avoid having unreachable code
- Copy of Rule Template
- DRD00. Do not store sensitive information on external storage (SD card) unless encrypted first
- DRD04-J. Do not log sensitive information
- DRD11. Ensure that sensitive data is kept secure
- DRD12. Do not trust data from world-writable files
- DRD22. Do not cache sensitive information
- DRD23. Do not use world readable or writeable to share files between apps
- DRD25. Use constant-time encryption
- DRD27-J. For OAuth, use an explicit intent method to deliver access tokens
- DRD28 Do not load world-writable libraries
- Rule Template
C
Content by label
There is no content with the specified labels
C++
Content by label
There is no content with the specified labels
Java
- FIO02-J. Detect and handle file-related errors
- FIO03-J. Remove temporary files before termination
- FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
- FIO07-J. Do not let external processes block on IO buffers
- FIO09-J. Do not rely on the write() method to output integers outside the range 0 to 255
- FIO10-J. Ensure the array is filled when using read() to fill an array
- FIO12-J. Provide methods to read and write little-endian data