RFC697

xiaoxiao2021-03-06  115

Organization: China Interactive Publishing Network (http://www.china-pub.com/)

RFC Document Chinese Translation Program (http://www.china-pub.com/compters/emook/aboutemook.htm)

E-mail: Ouyang@china-pub.com

Translator: Guodagang Guodagang@163.net)

Translation time: 2002-1-9

Copyright: This Chinese translation copyright belongs to China Interactive Publishing Network. Can be used for non-commercial use free reprint, but must

Keep the translation and copyright information of this document.

Network Working Group

Jim Lieb

RFC # 697

SUMEX-AIM

NIC # 32963

July 14,1975

FTP's CWD command

(RFC697 - CWD Command Of FTP)

Introduction

The Tenex file system supports the "Pure File" directory. This type of directory cannot be "log in", but

"Connect to" arrive. After registration, the "owner" of this directory can access the job generated by the system and used

The address space of the program is executed. Connection allows an existing job and its related users, ie "owner (OWNER)"

Access a directory, but you can't create an address space. "Owner", Group (Group) and "Universal

(universal) "or" public "these words determine the legitimacy of checking a file access request

Use this protection specification which field.

problem

The Tenex FTP server does not allow FTP to log in to a "Files Only" directory. The current agreement includes changes

The command (Change Working Directory, abbreviated as a CWD) command, can get some "even" by this command

Connect the "" "" but does not fully grant users "Owner" permissions. So, there is no way

You can access a "Files Only" directory as "Owner" (ie, you can provide password).

For this type of personal directory, this is very inconvenient, because for a lot of directory, define a user directory "group

(Group) is very wasteful, and unconstrained "public" permissions will bring a lot of inconvenience.

Solution

Two methods can be used. Or delete the limit on the FTP login "Files Only" directory, or create one

With the "Connect" function. The limit on the "files only" directory is based on how the server is

A FTP user. If we say any network users who know a directory password have ownership of this directory

To connect FTP, then we use the first solution. If we want to limit an FTP login to user login

If we need a second solution.

Suggest

Use the following two ways to change the protocol:

1. Delete the limit when the FTP login "Files Only" directory

2. Add an optional parameter to specify the mouth of the directory for the CWD (Change Working Directory command)

Let string. If the password is successful, the user will get the ownership of this directory. If the password does not exist or check

If you fail, this command current permissions and operational features are controlled by the current protection mechanism. Anonymous users are not allowed

Use this mechanism to change their access to the file system.

[October 1999, the earliest by BBN has converted this RFC into a machine to identify the pattern, by

GTE's Alex Mckenzie to support the online RFC query on one by one]

RFC697 - CWD Command Of FTP FTP CWD Command 2

RFC Document Chinese Translation Program

转载请注明原文地址:https://www.9cbs.com/read-126406.html

New Post(0)