PHPExcel中的文件保护 [英] File Protection in PHPExcel

查看:273
本文介绍了PHPExcel中的文件保护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用PHPExcel创建受密码保护的Excel文件(不是工作簿/工作表密码保护)吗?

Can I create a password protected excel file (not workbook/worksheet password protection) using PHPExcel?

我有一个Linux服务器,"COM"类不支持Linux服务器.我不知道如何用密码保护我的Excel文件.

I have a linux server and 'COM' class doesn't support linux server. I have no idea how to password protect my excel file.

推荐答案

您无法在PHPExcel中用密码保护文件,该功能根本不可用.您只能保护单元格不被写入或更改其样式.

You can't password protect a file in PHPExcel, that feature simply isn't available. You can only protect cells from being written to, or their style changed.

这篇关于PHPExcel中的文件保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆