Microsoft FTP 7.5 使用者隔離 操作教學

這個問題困擾我很久了,到底要怎樣才能弄得像Linux一樣,一個使用者的FTP起點是一個根目錄...

[more]

今天剛好看到IIS工程師steve schofield的回覆:

1) Create a dummy FTPRoot folder

2) Create a Master FTP site. (just an FTP site) No http.

3) Create a vdir called 'LocalUser'. map the 'localuser' virtual directory to your dummy folder (grant authenticated users 'list' only permissions)

4) Under the LocalUser vdir, create your specific user accounts mapped to the appropriate location (these should be vdirs)

5) Under the User isolation, select the first option (disable global directories)

6) Under the Authentication section, enable basic authentication if you are using windows accounts.

7) Under the authorization, grant the user permissions.

8) Grant appropriate folder security for your test user. 

9) Test it out.

 

翻譯兼白話後是:

此例為FTP使用者是本機使用者

1. 先弄個FTP目錄(用來當虛擬目錄)

2. 弄個FTP站台,實體目錄不能跟步驟1同樣

3. 在FTP站台新增一個虛擬目錄叫做"LocalUser",而那個路徑就設在步驟1的假目錄,並且要設定該資料夾"只有"開放FTP使用者"列出資料夾內容"

4. 回到FTP站台,在LocalUser這個虛擬目錄下再新增虛擬目錄,名稱為"使用者帳戶名稱",並且設定虛擬目錄路徑是"最終目標資料夾"(你想要讓使用者看到的)

5. 接著在FTP站台開啟"使用者隔離",設定選項為第一個,"隔離使用者(禁止全域目錄)"

6. 在FTP站台選"使用者驗證",開啟相對應的驗證方式,如果你是用本機帳戶,請開啟基本驗證

7. 接著開放使用者存取FTP站台的權限

8. 再來就是調整"最終目標資料夾"的存取權限

9. 搞定~

 

這方法還是麻煩...不過很實用就是了~

留言

粗體斜體刪除線連結引用圖片程式碼

注意:您的電子信箱將不會被公開,且網站連結不會被搜尋引擎採計

{124} {123} {122} {121} {120} {119} {118} {117} {116} {115} {114} {113} {112} {111} {100} {025} {024} {023} {022} {021} {020} {019} {018} {017} {016} {015} {014} {013} {012} {011} {010} {009} {008} {007} {006} {005} {004} {003} {002} {001}