shib71 / mod-auth-token

Automatically exported from code.google.com/p/mod-auth-token
Apache License 2.0
0 stars 1 forks source link

Can I create url with a dynamic validity time #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.

I want to create some protected url but i would like to manage the access time 
with a PHP Script.

It's possible ?

Thx and sorry for my english but I'm french :=).

Original issue reported on code.google.com by cedric.c...@gmail.com on 17 Jun 2011 at 2:53

GoogleCodeExporter commented 8 years ago
Passing the time validity  from a generated link is not possible because you 
can't trust the client, and if you are encoding a variable int (e.g : the time 
) you can NOT reencode on the other side without passing some flag  in clear. 
That would be a serious security breach. 

Original comment by teixeira...@gmail.com on 24 May 2012 at 7:26

GoogleCodeExporter commented 8 years ago
By the way I'm french too ;)

Original comment by teixeira...@gmail.com on 24 May 2012 at 7:26