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

---

Tafuta vijalizi

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Secure Link for Nginx

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

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

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

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

## Maelezo

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

## Installation

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

}
 `

## Reviews

Hakuna hakiki za programu-jalizi hii.

## Wachangiaji & Wasanidi

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

Contributors

 *   [ 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 miaka zilizopita**
 *  Active installations **Chini ya 10**
 *  WordPress version ** 4.6 au juu **
 *  Tested up to **4.9.33**
 *  PHP version ** 5.2.4 au juu **
 *  Language
 * [English (US)](https://wordpress.org/plugins/secure-link-nginx/)
 * Tags
 * [link](https://sw.wordpress.org/plugins/tags/link/)[shortcode](https://sw.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://sw.wordpress.org/plugins/secure-link-nginx/advanced/)

## Ratings

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/)

## Contributors

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

## Saidia

Got something to say? Need help?

 [Angalia Baraza ya Usaidizi](https://wordpress.org/support/plugin/secure-link-nginx/)