简体   繁体   中英

How to protect htdocs files

does anyone know how to make my htdocs folder files uneditable but can be copy because i want to make my web application secure so that people cant edit the contents inside my files.

Does anyone know how to do this? can be copy but uneditable.

您可以将目录/文件权限设置为755(rwx r_x r_x)

chown (更改所有权)文件/目录授予运行Web服务器的用户之外的其他用户,而不是将chgrp (更改组)提交给Web服务器的组的用户,而不是将组的权限设置为具有读取访问权并将该组剥离为其他不必要的权利。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM