Page 1 of 1
One time weblink
Posted: Tue Jun 23, 2015 9:25 am
by impact
Hi,
is it possible to create a weblink that works only one time and expires after download?
In alternative is it possible to protect a weblink with a one time password?
Thank you in advance
Andrea
Impact spa
Re: One time weblink
Posted: Tue Jun 23, 2015 9:40 am
by FTP
Yes, you can set the download limit as "1".
Re: One time weblink
Posted: Tue Jun 23, 2015 10:10 am
by impact
Ok thank you.
Another question is it possible to set IP access for weblinks or disable weblink generation just for one user?
Thank you
Re: One time weblink
Posted: Wed Jun 24, 2015 2:12 am
by FTP
OK, you can set the IP access rules under the domain level only, and you can't enable or disable weblink generation for the specified user, but you can handle it by modifying the html file, just edit the file "webclient/weblink.html" and "webclient/weblink_update.html", replace this line:
if _SESSION["username"] ~= nil and _SESSION["currentpath"] ~= nil then
into:
local user = _SESSION["username"]
if user ~= nil and _SESSION["currentpath"] ~= nil and (user ~= "aa" and user ~= "bb" and user ~= "cc") then
Re: One time weblink
Posted: Fri Jun 26, 2015 8:16 am
by impact
Ok
So in the line user "aa" "bb" "cc" i have to set user who can generate weblink o who can't generate weblink?
Thank you!
Re: One time weblink
Posted: Fri Jun 26, 2015 9:41 am
by FTP
Of course it means those people can't generate weblink.
Re: One time weblink
Posted: Fri Jun 26, 2015 12:28 pm
by impact
It works perfectly!
Thank you!
Andrea