Please refer to secure_link module<br><br><div class="gmail_quote">2009/6/15 XUFENG <span dir="ltr">&lt;<a href="mailto:xufengnju@sina.com">xufengnju@sina.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
        Can nginx achieve this goal?<br>
<br>
        On my php page,I give the url to my mp3 file in this format <a href="http://mp3.example.com/a.mp3?key=time%28%29" target="_blank">http://mp3.example.com/a.mp3?key=time()</a><br>
then this request will go to nginx,can nginx do something like compare the uri /a.mp3?key=time() with the current time() and if it is 180 seconds ago,403 error will return or it will rewrite to the normal file /a.mp3<br>

<br>
Thanks in advance.<br>
--------------<br>
<font color="#888888">XUFENG<br>
2009-06-15<br>
<br>
<br>
<br>
</font></blockquote></div><br>