If you are worried about other users on your machine then you can verify/update your umask so others can't access your files.
If you are worried about programs under same user then you need to use AppArmor and or firejail heck you can even go crazy and use SELinux.