天天看点

关于FTP隔离详解

FTP域环境下的隔离:

请在实验前安装好IIS中的FTP服务。

环境准备如下图所示:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520704lGSj.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505207146FzF.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520724dMN2.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520732eJBL.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520744ROdc.png"></a>

环境准备完毕。接下来正式进入实验。

新建FTP站点:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520748oMkB.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520756Secy.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520761VNtW.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520766MRpb.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520773Bt4R.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520780Qcr8.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520787wvBg.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505207912hYA.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520797mKRu.png"></a>

到现在为止我们的IIS部分配置完毕。

打开MS-DOS:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505208042EJO.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520811HfgC.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505208183FvP.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520825OuqI.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520834a9sy.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505208431ra9.png"></a>

OK!现在服务端的配置完毕。

查看服务器IP地址:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520850Uzwj.png"></a>

进入客户端进行测试:

使用testa进行访问:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520857ujl2.png"></a>

使用testb进行访问:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520871ABd4.png"></a>

在此操作过程中,各用户只能看到自己的home目录,并不能看见其他用户的home目录,测试证明实验成功。

FTP工作组环境下的隔离:

同样在实验前先准备好环境:

安装好IIS中的FTP服务。

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_125052088376rl.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520893N19a.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520900zhWi.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520911oc3O.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520918uD0B.png"></a>

环境准备完毕。

创建FTP站点:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520929oZE6.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520935EqkM.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520940AMlx.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520946NI2K.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520958ud94.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520966RzS3.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520970BhEK.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520976LIAv.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_1250520983xfuv.png"></a>

在客户端进行测试:

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_12505209918OuV.png"></a>

<a href="http://tom110.blog.51cto.com/attachment/200908/17/892790_125052100045sq.png"></a>

从以上测试看出,各用户只能看到自己的home目录,证明实验成功。

<a href="http://down.51cto.com/data/2353726" target="_blank">附件:http://down.51cto.com/data/2353726</a>

本文转自 tomsjack  51CTO博客,原文链接:http://blog.51cto.com/tom110/192909

继续阅读