Title: Secure Link for Nginx
Author: M Hansen Tanjung
Published: <strong>Tachwedd 21, 2018</strong>
Last modified: Tachwedd 21, 2018

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

![](https://s.w.org/plugins/geopattern-icon/secure-link-nginx.svg)

# Secure Link for Nginx

 Gan [M Hansen Tanjung](https://profiles.wordpress.org/mhansent/)

[Llwytho i lawr](https://downloads.wordpress.org/plugin/secure-link-nginx.20181121.zip)

 * [Details](https://cy.wordpress.org/plugins/secure-link-nginx/#description)
 * [Reviews](https://cy.wordpress.org/plugins/secure-link-nginx/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/secure-link-nginx/#installation)
 * [Development](https://cy.wordpress.org/plugins/secure-link-nginx/#developers)

 [Cefnogaeth](https://wordpress.org/support/plugin/secure-link-nginx/)

## Disgrifiad

[Secure Link for Nginx](https://gitlab.com/mhansent/secure-link-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](http://nginx.org/en/docs/http/ngx_http_secure_link_module.html)

#### 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]" />`

## Gosod

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; }
    ```

}
 `

## Adolygiadau

There are no reviews for this plugin.

## Contributors & Developers

“Secure Link for Nginx” is open source software. The following people have contributed
to this plugin.

Cyfranwyr

 *   [ M Hansen Tanjung ](https://profiles.wordpress.org/mhansent/)

[Translate “Secure Link for Nginx” into your language.](https://translate.wordpress.org/projects/wp-plugins/secure-link-nginx)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/secure-link-nginx/),
check out the [SVN repository](https://plugins.svn.wordpress.org/secure-link-nginx/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/secure-link-nginx/)
by [RSS](https://plugins.trac.wordpress.org/log/secure-link-nginx/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **20181120**
 *  Last updated **8 blynedd yn ôl**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.6 neu uwch **
 *  Tested up to **4.9.31**
 *  PHP version ** 5.2.4 neu uwch **
 *  Language
 * [English (US)](https://wordpress.org/plugins/secure-link-nginx/)
 * Tags
 * [link](https://cy.wordpress.org/plugins/tags/link/)[shortcode](https://cy.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://cy.wordpress.org/plugins/secure-link-nginx/advanced/)

## Graddau

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/secure-link-nginx/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/secure-link-nginx/reviews/)

## Cyfranwyr

 *   [ M Hansen Tanjung ](https://profiles.wordpress.org/mhansent/)

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/secure-link-nginx/)