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
One time weblink
-
- Site Admin
- Posts: 2084
- Joined: Tue Sep 29, 2009 6:09 am
Re: One time weblink
Yes, you can set the download limit as "1".
-
- Posts: 19
- Joined: Fri May 10, 2013 1:39 pm
Re: One time weblink
Ok thank you.
Another question is it possible to set IP access for weblinks or disable weblink generation just for one user?
Thank you
Another question is it possible to set IP access for weblinks or disable weblink generation just for one user?
Thank you
-
- Site Admin
- Posts: 2084
- Joined: Tue Sep 29, 2009 6:09 am
Re: One time weblink
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
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
-
- Posts: 19
- Joined: Fri May 10, 2013 1:39 pm
Re: One time weblink
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!
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!
-
- Site Admin
- Posts: 2084
- Joined: Tue Sep 29, 2009 6:09 am
Re: One time weblink
Of course it means those people can't generate weblink.
-
- Posts: 19
- Joined: Fri May 10, 2013 1:39 pm
Re: One time weblink
It works perfectly!
Thank you!
Andrea
Thank you!
Andrea