Previous: Security Considerations for locate, Up: Security Considerations
Where untrusted parties can create files on the system, or affect the
names of files that are created, all uses for find,
locate and xargs have known security problems except the
following:
find to delete files
which meet specified criteria
find where the
PATH environment variable contains directories which contain
only trusted programs.