前言介紹
- 這款 WordPress 外掛「mulllhausen's secure links」是 2014-08-06 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2014-08-08,距離現在已有 3923 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.6.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
secure file | secure link | restricted link | secure download | restricted download |
內容簡介
Mulllhausen's Secure Links 可讓您控制可以從您的網站下載安全檔案的使用者。每個使用者會看到不同的下載 URL,它是使用使用者 ID 和檔案名稱的加密組合物。如果一個使用者複製他們的下載 URL 並向另一個使用者發送它,那麼這個其他使用者將無法訪問安全檔案。
初始設置
當您第一次安裝此外掛時,您應該轉到管理面板頁面(在工具菜單下)並確保一切都已安全配置。
用法
一旦您已經安全配置了一切,下面的短碼就可用了:
[mulll0 allowed_users="alice anderson,bob brown,charlie clarke"]filename.pdf[/mulll0]
這將允許 alice、bob 和 charlie 訪問文件 filename.pdf。每個人都會有一個指向相同文件的不同 URL 鏈接。但如果他們中的任何一個複製他們的 URL 鏈接並將其分享給 denis,那麼 denis 將無法訪問文件 filename.pdf。
包含逗號(,)符號的用戶名將無法正常工作,因為逗號用作用戶名之間的分隔符。
必須使用完整的用戶名 - 不會識別部分用戶名。用戶名可以在 WordPress 管理員中的“用戶 > 所有用戶”下找到。
請務必在 wordpress 文字模式下輸入短碼,而不是視覺模式,以避免不必要的 HTML 進入短碼文本並破壞它。
此外掛僅在 secure-downloads 目錄中放置的文件中啟用安全下載。如果需要,您可以使用另一個外掛(例如WP Easy Uploader)通過您的 Web 瀏覽器直接上傳文件到此位置。
文件路徑不應包含在短碼中 - 只需要文件名(基礎名)即可。
在短碼屬性 allowed_users 中列出的用戶名不區分大小寫。
管理員級別的使用者默認可以下載所有鏈接。
請務必不要上傳文件名開頭或結尾有空格的文件,因為此外掛會從短碼中指定的文件名中刪除空格。
待辦事項
允許管理員透過外掛管理面板更改安全 URL(需要消除不安全因素)
允許管理員透過外掛管理面板更改安全目錄名稱(需要消除不安全因素)
在 WordPress 編輯器上方包含一個“插入安全鏈接”圖示。這將打開一個彈出窗口,可以在其中選擇用戶和文件。這將消除手動撰寫短碼時的拼寫錯誤。
為 WordPress.org/plugins 頁面製作漂亮的橫幅圖像。
原文外掛簡介
Mulllhausen’s Secure Links lets you control the users who can download secure files from your site. Each user sees a different download URL, which is an encrypted combination of the user’s ID and the file name. If one user copies their download URL and sends it to another user then this other user will not be able to access the secure file.
Initial Setup
When you first install this plugin you should go to the admin panel page (under the tools menu) and make sure that everything is securely configured.
Usage
Once you have securely configured everything then the following shortcode becomes available:
[mulll0 allowed_users="alice anderson,bob brown,charlie clarke"]filename.pdf[/mulll0]
This will allow alice, bob and charlie to acces file filename.pdf. Each will have a different URL link to the same file. But if any of them try to copy their URL link and give it to denis then denis will not be able to access file filename.pdf.
Usernames that contain the comma (,) symbol will not work, since the comma is used as a separator between usernames.
Full usernames must be used – partial usernames are not recognized. Usernames can be found in the WordPress Admin under “Users > All Users”.
Make sure to type shortcodes in wordpress text-mode, not visual-mode, to avoid unwanted html entering the shortcode text and breaking it.
This plugin only enables secure downloads for files placed in the secure-downloads directory. If you like you can use another plugin (eg WP Easy Uploader) to upload files directly to this location through your web-browser.
File paths should not be included within the shortcode – only the file name (basename) is necessary.
Usernames listed within the allowed_users attribute of the shortcode are case insensitive.
Administrator level users are able to download all links by default.
Make sure not to upload files that have spaces at the start or end of the filename since this plugin strips whitespace from the filename specified in the shortcode.
TODOs
Enable the admin to change the secure URL via the plugin admin panel (requires sanitization)
Enable the admin to change the secure directory name via the plugin admin panel (requires sanitization)
Include a insert secure link icon above the wordpress editor. This would open a popup window where users and files could be selected. This would eliminate typos in manually written shortcodes.
Make a pretty banner image for the wordpress.org/plugins page.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「mulllhausen's secure links」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。