FTP Service Registry Entries

In addition to Service-Specific Registry Entries, the FTP service maintains the following parameters.

Registry Path:

HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
 \Services
  \MSFTPSVC
   \Parameters

AnnotateDirectories
REG_DWORD
Range: 0,1
Default: 0 (disabled)
The FTP service supports annotating a directory with custom messages. The annotation text is stored in a special file named ~ftpsvc~.ckm in the directory to be annotated. If this file exists in the target directory of a Change Directory (CWD) FTP operation, then the service responds with the contents of this file for the operation. This provides a way for administrators to add custom messages for directories under consideration. By default the service is configured to not send annotation text. If you choose to add a custom message, you should also create the annotation file. Also, it is recommended that you make the annotation file a hidden file so that the file does not appear on a directory listing.

 

EnablePortAttack
REG_DWORD
Range: 0, 1
Default: 0 (disabled)
This parameter is set by default to prevent a security problem in the FTP protocol specification. The FTP service specification allows passive connections to be established based on the port address given by the client. This can allow hackers to execute destructive commands in the FTP service. The problem occurs when the FTP service connects using a port other than FTP Data port (20) and port number is less than IP_PORT_RESERVED (1024). EnablePortAttack controls if such an attack should be allowed. By default, the service does not make any connections to port numbers lower than IP_PORT_RESERVED (other than 20). If you want users to connect by using other ports as specified in the FTP RFC, this flag should be enabled.

 

LowercaseFiles
REG_DWORD
Range: 0, 1
Default: 0 (disabled)
The FTP service uses the native case for file names (how the file names are stored in file system). However, in order for exact comparisons with case-sensitive file systems to work, it may be necessary to ensure that proper file names are used. Administrators can add this value to ensure that the service uses lowercase for such comparisons.

 


© 1997 by Microsoft Corporation. All rights reserved.