Ftp Server implementation thoughts.
Root folder for ftp server
Subfolder
Subfolder
_Config.xml
_Config.xml
//--------------------------
_Config.xml specifies User access and permissions to specified folder.
It also defines virtual folders. Virtual folder is alias name to folder in some other location.
Root folder for ftp server
Subfolder
_Config.xml
(
<permissionInheritace inherit=true>
<permission userName="test" permissions="Read|Write ...">
<virtualFolder name="vFolder" path="d:\ftpRoot2\">
)
For client is reported
ftp://xxx/Subfolder
ftp://xxx/vFolder - there client is mapped to "d:\ftpRoot2\", _Config.xml is getted from there if exists, otherwise
parent foldr config.xml is used.
Permissions in _Config.xml must be inheritable from parent folder if _Config.xml in subFolder ins't available, permissions are automatically inhereted.
Permissions checking order:
From ROOT to end calculate permission what will stay (inheriting, overriding, ...).
LumiSoft.Net
需积分: 10 34 浏览量
2008-06-27
16:30:36
上传
评论
收藏 2.47MB ZIP 举报
wl076
- 粉丝: 74
- 资源: 4
最新资源
- 电力场景设备漏油检测数据集VOC+YOLO格式338张1类别.7z
- 基于yolov8+pyqt5实现精美界面支持图片视频和摄像检测源码.zip
- 用C语言为母亲节献上一份特别的祝福.zip
- LCD1602液晶显示屏的深入探索与实用指南.zip
- 基于Matlab人脸肤色定理的教师人数统计+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab霍夫曼变换的表盘读数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab火灾烟雾检测源码带GUI界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的恶劣天气交通标志识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的霍夫曼变换的表盘示数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的车道线识别系统 +源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈