Welcome! Log In Create A New Profile

Advanced

Re: Secure Link Expires - URL Signing

Francis Daly
January 10, 2018 03:50AM
On Wed, Jan 10, 2018 at 03:15:05AM -0500, anish10dec wrote:
> URL Signing by Secure Link MD5 , restricts the client from accessing the
> secured object for limited time using below module

It can, if you configure it to.

> Exp time is sent as query parameter from client device
>
> secure_link $arg_hash,$arg_exp;
> secure_link_md5 "secret$arg_exp";

http://nginx.org/r/secure_link_md5 says

"""
The expression should contain the secured part of a link (resource) and
a secret ingredient. If the link has a limited lifetime, the expression
should also contain $secure_link_expires.
"""

You appear to have included only one of the three pieces.

> Is there a way to restrict the request, by secure link module, to future
> time so that for example object should be accessible only for 1 hour time
> duration from current time.

Yes.

Create the link and do the configuration like the documentation suggests.

If it still does not work for you, can you show all of the steps that
you take to secure one specific url? That might make it clear where the
problem first appears. (Maybe the documentation needs changing.)

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Secure Link Expires - URL Signing

anish10dec January 10, 2018 03:15AM

Re: Secure Link Expires - URL Signing

Francis Daly January 10, 2018 03:50AM

Re: Secure Link Expires - URL Signing

anish10dec January 10, 2018 01:32PM

Re: Secure Link Expires - URL Signing

Richard Stanway via nginx January 10, 2018 01:50PM

Re: Secure Link Expires - URL Signing

Francis Daly January 10, 2018 06:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready