2015年11月9日 星期一


USB Resource based Application

道德經:
道生一,一生二,二生三,三生萬物。萬物負陰而抱陽,沖氣以為和。

Design consideration:
1.      Let USB storage carry their own users account/password,share folders... , then anywhere the storage goes, it can start to deploy service to as it is in the device with the USB feature by specific function.
2.      Parsing from USB storage and restore to run-time uci.
3.      Save to USB storage and from run-time uci by way of cgi is a worthful effort.
4.      Parsing from USB storage and restore to run-time uci
5.      Save to USB storage and from run-time memory(uci variable pool) by way of cgi is a worthful effort.
6.      Allow a user to use the same username but different password for both SAMBA and FTPD respectively.
7.      Samba need to listen multiple interfaces when VLAN is configured.
8.      Allow User to modify/new/add a account/password.
9.      Disallow a invalid/disable/       modified account to be accessed the service.
10.  Tree Browser/Admin with Windows Client Can display multiple language without changing the selection of Web Language
11.  Allow to use Samba hostname to logon.
12.  Can hot-plug USB disk to start/stop the service.(以下後來新增)
13.    Access permission: users, shares(folders)
14.    Rename/add/delete a username/password
15.    make consistent with booting partition for usb config.settings
16.    netbios name access and logon
17.    differentiate sharenames that own the same foldername and locates at
18.    user account consistent
19.    user account validity


SAMBA and FTPD different handling in their details
1.      The different utility used to create password for samba(smbpasswd) and vsftpd(passwd)
2.      FTPD has user home folder and mount bind to user’s home for per-user local root, this is very important.
3.      Samba's home folder is removed, and not need to "moun bind"
4.      Samba is per-sharefolder configuration
5.      Samba Permission control can be realized by user level securty, i.e. read list = … and write list = …. but for the same user may share different folders that open for him repeatedly.
6.      vsftpd is per-user configuration
7.      FTP user access authority is the same authority per-user configuring for all his own share folders. Permission control can be realized by user level securty, i.e. cmd_deny=… and cmd_allow=… to manage user's authority.  one user cannot share repeatedly different folders.

沒有留言:

張貼留言