nginx-0.7.18

Igor Sysoev is at rambler-co.ru
Mon Oct 13 18:55:03 MSD 2008


On Mon, Oct 13, 2008 at 03:36:05PM +0100, Phillip B Oldham wrote:

> Igor Sysoev wrote:
> >    *) Feature: the ngx_http_secure_link_module.
> >    *) Feature: the "log_subrequest" directive.
> >  
> Any idea when we'll have documentation on these new features?

The "log_subrequest on|off" allows to log subrequests in access_log.

The ngx_http_secure_link_module allows to create a secure link as
/prefix/hash/link, where

1) prefix is any symbols expect "/";
2) hash is md5(link, secret),
   the secret is set by secure_link_secret directive;
3) and link is some link to secure.

Example:

     location /p/ {
         secure_link_secret  some_secret;

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

The $secure_link variable is equal to a link if a hash is valid,
otherwise it is "".


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list