前面几篇介绍了基本的文件权限保护策略,其实除了自定义的权限保护外,还可以通过统一制定AIP策略,对Office文件添加统一的水印,或是页眉、页脚功能! 1、 进到Azure Portal,找到AIP的管理面,找到添加新标签 ![](https://s4.51cto.com/images/blog/201801/30/9513b8abed42fd042062f1050bdd3583.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 2、 编辑水印选项及内容 ![](https://s4.51cto.com/images/blog/201801/30/e647f31c4a58f19341aa673bc4f74f59.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 3、 确认好后,保存、发布 ![](https://s4.51cto.com/images/blog/201801/30/1d0d5eb41e72b9b41068c5bcb87443db.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) ![](https://s4.51cto.com/images/blog/201801/30/89a97cac67dfbaec3e3c04517234a7c6.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 4、 发布出去后,用户端AIP上即可多一个选项出来 ![](https://s4.51cto.com/images/blog/201801/30/15c7c875bbfaf0cd7fc007e45523e9dc.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 5、 用户端在需要的文件下,点AIP保护、添加水印,文件即自动加上管理员定义好的水印格式: ![](https://s4.51cto.com/images/blog/201801/30/ec7c226d79a6b11d65f6e05933d87e43.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 6、 同样的方法,我们也可以定义页眉、页脚 ![](https://s4.51cto.com/images/blog/201801/30/a5ed7773e0aa26b492cb12a37cef78c9.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 7、 输入页眉、页脚的文本内容及格式 ![](https://s4.51cto.com/images/blog/201801/30/23b9fad83b89b2ebaae3b86d9d59099a.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 8、 确认好后,保存、发布 ![](https://s4.51cto.com/images/blog/201801/30/09073b151dcec3c83fa12a33d6b5a2cc.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 9、 用户端选择添加页眉、页脚 ![](https://s4.51cto.com/images/blog/201801/30/dc352a6cec4fe1003ea6581af793e403.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 10、 添加后的效果 ![](https://s4.51cto.com/images/blog/201801/30/3167efaa96f216e5b19687f82785a342.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 11、 当然除了单一的保护权限、水印、页眉、页脚功能,也可以各项配合使用, 也可以配置条件,自动应用相就的策略,比如定义一个HR的规则,当文件中出现“面试”、“薪水”等字样时,自动套用HR的某一个保护+标签的功能。大家可以自由定义、自由发挥。 ![](https://s4.51cto.com/images/blog/201801/30/303b0b6628acea5921ca59fa0395c5d0.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) ![](https://s4.51cto.com/images/blog/201801/30/3787c288dbb295b3dd887cab3918cfc5.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)