rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Lua on May 17, 2010, 01:46:08 PM

Title: user = download; guest = view?
Post by: Lua on May 17, 2010, 01:46:08 PM
yeah, this is old question from http://www.rejetto.com/forum/index.php/topic,1896.0.html (http://www.rejetto.com/forum/index.php/topic,1896.0.html)

how about now?

i couldent find anything else ;(


simple question.

Access user = download and view list.
Guest = Can't download and view list. or Can't view by folder, file option.
Title: Re: user = download; guest = view?
Post by: rejetto on May 17, 2010, 01:55:08 PM
with version 2.3 (currently in beta but quite stable) there's a way to do it. if interested.
Title: Re: user = download; guest = view?
Post by: Mars on May 17, 2010, 04:25:10 PM
as say rejetto , you have to use the the version  2.3  (actualy build 260) (http://www.dovedove.it/hfs/hfs260.exe)

attached template allow only identified users, to download or to archive a file by clicking on it.

but it is always possible to download the file by using the full url;)
Title: Re: user = download; guest = view?
Post by: Lua on May 18, 2010, 01:09:07 AM
Thx for quick posts. ;)
Title: Re: user = download; guest = view?
Post by: rejetto on May 18, 2010, 12:45:38 PM
that's not what i meant.
my advice is to revert to the template you was already using, and add something like this to the events file (ALT+F6)

[+download]
{.if not|%user%|{:{.disconnection reason|you must log in to download.}:}.}