[WordPress] 外掛分享: Media Vault

首頁外掛目錄 › Media Vault
WordPress 外掛 Media Vault 的封面圖片
800+
安裝啟用
★★★★
4.4/5 分(27 則評價)
4411 天前
最後更新
問題解決
WordPress 3.5.0+ v0.8.12 上架:2013-10-17

內容簡介

已保護的附件檔案

Media Vault 會將 WordPress 上傳資料夾的一部分區隔起來,並透過一套強大、靈活、完全可自訂的權限檢查,保護其中的所有檔案,以此來保證其安全性。

啟用外掛後,您可以透過以下方式來利用 Media Vault 來保護附件檔案:

使用「媒體上傳器」管理頁面來上傳新的保護附件檔案,
使用「編輯媒體」管理頁面上的「Media Vault」控制框來切換檔案保護,
使用新「媒體模式」下的「Media Vault 保護設定」欄位,或
在您的「媒體庫」頁面中使用「大量操作」來一次更改多個現有附件檔案的保護層級。

預設情況下,外掛在媒體檔案上所進行的唯一權限檢查是確認該使用者是否已登入。您可以在 WordPress 管理後台的「設定」菜單中的「媒體設定」頁面中更改此預設行為。您也可以透過「編輯媒體」頁面上的「Media Vault」控制框或「Media Vault 保護設定」欄位來單獨地更改附件檔案的限制設定。

如果您需要,Media Vault 還支援使用 mgjp_mv_add_permission() 函式來編寫自定義限制。詳細請參閱此支援問題。

安全下載連結

建立一個跨瀏覽器兼容的下載連結並不是一個簡單的任務。Media Vault 可以為您處理,同時它還會保留所有之前討論過的檔案安全性功能,例如防止未經授權的使用者下載該檔案。

下載連結可透過一個簡單的shortcode在您的文章/頁面編輯器中使用:

[mv_dl_links ids="1,2,3"]

其中的「ids」為附件 ID 的逗號分隔列表,表示您想在清單中提供哪些附件檔案的下載連結。

注意:外掛已經支援 WordPress 3.8+ 的樣式!

注意:現在支援 WordPress 多站點!

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.8.12) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Media Vault」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Protected Attachment Files
Media Vault cordons off a section of your WordPress uploads folder and secures it, protecting all files within by passing requests for them through a powerful, flexible and completely customizable set of permission checks.
After activating the plugin, to protect attachment files with Media Vault you can:

use the Media Uploader admin page to upload new protected attachments,
use the Media Vault metabox to toggle file protection on the ‘Edit Media’ admin page,
use the the Media Vault Protection Settings fields in the new Media Modal, or,
using bulk actions in your Media Library page, you can change file protection on multiple pre-existing attachments at once.

By default the only permission check that the plugin does on media files is that the user requesting them be logged in. You can change this default behavior from the ‘Media Settings’ page in the ‘Settings’ menu of the WordPress Admin. You can also change the restrictions set on attachments on an individual basis by means of either the Media Vault metabox on the ‘Edit Media’ page or the Media Vault Protection Settings fields in the new Media Modal.
You can also write your own custom restrictions using the mgjp_mv_add_permission() function. See this support question for more details.
Safe Download Links
Creating a cross-browser compatible download link for a file is a harder task than might be expected. Media Vault handles this for you, and it does so while preserving all the file security features discussed earlier like blocking downloads to people who should not have access to the file.
The download links are available through a simple shortcode that you can use in your post/page editor screen:
[mv_dl_links ids="1,2,3"]

where ‘ids’ are the comma separated list of attachment ids you would like to make available for download in the list.
Note: Plugin comes with styles ready for WordPress 3.8+!
Note: Now supports WordPress MultiSite!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon