這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Secure Link for Nginx

描述

Secure Link for Nginx is a
shortcode plugin for WordPress to embed hash code for link that want to be
protected. Protectition based on client IP and user agent. This plugin must be
use when nginx web server already configured with
secure link module

Using shortcode

Shortcode can be use with parameter or without it. Suppose you want to protect
img.png file under /secure folder, using with parameter:
<img class="" src="/secure/img.png[sln_create slfile='/secure/img.png']" />
using it whitout parameter:
<img class="" src="[sln_create]/secure/img.png[/sln_create]" />

安裝

We use this asumption when configuring nginx and using this plugin at wordpress
post:
– Folder that want to secure is /secure under wordpress folder

  1. Upload the plugin files to the /wp-content/plugins/secure-link-nginx
    directory, or install this Secure Link fo Nginx plugin through the WordPress
    plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Configure nginx as a below

Nginx configuration

Under your wordpress configuration at nginx, add this configuration:

`

location /secure {
secure_link $arg_sln;
secure_link_md5 “$uri$remote_addr$http_user_agent”;

if ($secure_link = "") { return 403; }
if ($secure_link = "0") { return 410; }

}
`

評價

There are no reviews for this plugin.

貢獻者及開發者

“Secure Link for Nginx” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Secure Link for Nginx 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄