在群晖系统中其实没有直接加密文件夹功能,只能新建一个共享文件夹,然后配置密码和授权访问,而且需要手动加密和解密才能访问。
新建共享文件夹
首先在File Station中新建一个共享文件夹:
![image-20210115113128092](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115113134.png)
配置没有权限隐藏:
![image-20210115113308536](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115113308.png)
配置文件夹密码:
![image-20210115113359414](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115113359.png)
其他选项默认即可,然后完成应用
![image-20210115113452158](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115113452.png)
配置共享文件夹权限
新建好共享文件夹之后,给用户配置相关选项:
![image-20210115113655326](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115113655.png)
这样配置之后没有权限的用户登录之后已经是看不到该文件夹了:
![image-20210115114110362](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115114110.png)
但是有权限的用户登录是可以看到该文件夹,而且访问并不需要密码。通常这样并不能满足用户的需求。
装载和卸载文件夹
群晖系统中,并不是直接给文件夹配置密码,而是通过装载和卸载的方式控制文件夹,默认只要装载了,有权限的用户都看到文件夹了:
这个锁标记默认是开启的:
![image-20210115114448007](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115114448.png)
卸载文件夹
卸载文件夹之后,锁标记会锁定,然后有权限的用户也看不到该文件加了
![image-20210115114658370](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115114658.png)
装载文件夹
装载文件夹需要输入密码,装载后又能看到文件夹了
![image-20210115114750794](https://git.mengqingpo.com:8888/fugary/blogpic1/-/raw/master/images/20210115114750.png)