自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Proftpd開頭的文件如何隱藏

運維 系統(tǒng)運維
Proftpd開頭的文件如何隱藏?ProFTPD是個Unix平臺上或是類Unix平臺上(如Linux, FreeBSD...)的FTP服務器程序。它是在自由軟件基金會的版權聲明(GPL)之下開發(fā) 發(fā)布的免費軟件。也可以說,只要任何人遵守GPL版權的聲明,全都可以隨意修改源始碼。本文講述的是Proftpd開頭的文件如何隱藏。

  Proftpd開頭的文件如何隱藏?ProFTPD是個Unix平臺上或是類Unix平臺上(如Linux, FreeBSD...)的FTP服務器程序。它是在自由軟件基金會的版權聲明(GPL)之下開發(fā) 發(fā)布的免費軟件。也可以說,只要任何人遵守GPL版權的聲明,全都可以隨意修改源始碼。本文講述的是Proftpd開頭的文件如何隱藏。

  使用HideFiles參數(shù)進行配制就可以了。

  1.   HideFiles  
  2.  
  3.   Name  
  4.  
  5.   HideFiles -- Enable hiding of files based on regular expressions  
  6.  
  7.   Synopsis  
  8.  
  9.   HideFiles [ [!]regexp|"none" ["user"|"group"|"class" expression]]  
  10.  
  11.   DefaultNone  
  12.  
  13.   Context, .ftpaccess  
  14.  
  15.   Modulemod_core  
  16.  
  17.   Compatibility1.2.7rc1 and later  
  18.  
  19.   Description  
  20.  

  例如: 

 

  1.  # Hide configuration and passwd files from view  
  2.  
  3.   HideFiles "(\\.conf|passwd)$"  
  4.  
  5.   # ...or the same regex, without the quotes  
  6.  
  7.   HideFiles (\.conf|passwd)$  
  8.  
  9.   # Hide those same files from everyone _except_ a special user  
  10.  
  11.   HideFiles (\.conf|passwd)$ user !tj  
  12.  
  13.   # Using the ! prefix to "invert" the regular expression matching,  
  14.  
  15.   # allow only .txt and .html files to be seen  
  16.  
  17.   HideFiles !(\.txt|\.html)$  
  18.  
  19.   # Only let users of the webmaster group see HTML files, but nothing else  
  20.  
  21.   HideFiles !(\.htm|\.html)$ group webmasterSee Also: HideGroup, HideUser, HideNoAccess  

  另外,打開/etc/proftpd.conf進行編輯,在里面加入:

  ListOptions "." strict

 

【編輯推薦】

  1. ProFTPD.conf的詳細配置方法
  2. ProFTPD的配置文件proftpd.conf
  3. ProFTP下的參數(shù)說明
  4. Porftpd.conf的配置格式
  5. lampp的ProFTPd下新增FTP用戶的方法
  6. Debian下配置ProFTPd服務器
  7. Centos下ProFTPD配置FTP服務器
  8. 用MySQL和Proftpd配置FTP服務器
責任編輯:zhaolei 來源: CSDN網(wǎng)
相關推薦

2011-02-22 14:50:53

ProFTPD

2011-02-25 16:39:34

proftpd配置文件

2011-02-24 13:15:59

2011-02-22 09:50:01

2011-03-03 13:07:13

安裝Proftpd

2011-03-03 13:16:32

Proftpd配置文件

2011-02-24 14:34:57

2011-02-24 15:51:14

Proftpd

2011-02-22 10:08:46

ProFTPD配置

2011-03-03 13:00:21

2011-02-24 13:55:42

ProFTPD

2011-02-22 15:50:52

2011-03-02 17:42:09

Proftpd結構

2011-02-25 13:34:33

Proftpd結構

2021-01-29 10:36:20

Bundle文件Apple

2011-02-25 09:14:27

2011-03-03 15:02:22

proftpd權限

2011-03-08 11:13:52

proftpd結構

2011-02-24 14:57:15

ProFTPD

2011-02-25 13:23:19

Proftpd
點贊
收藏

51CTO技術棧公眾號