Security Requirements
When you use an API to read a file, ensure that the owner of the file is yourself and the permission is not higher than 640 to avoid security issues such as privilege escalation.
The software code or programs downloaded from external sources may have risks. You must ensure the security of their functions yourself.
Parent topic: Security Hardening