1. 使用系统自带的disk utility 创建带密码的disk image, 然后将文件/文件夹放入其中 2. 直接将文件以及文件夹进行隐藏 chflags hidden/nohidden yourfils