rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Hili on November 06, 2007, 01:31:18 AM

Title: Archive Download just 4 some User's
Post by: Hili on November 06, 2007, 01:31:18 AM
Hi folks,

Is it possible do able the archive folder download just for special user's? Now i am using the Clean HFS Template and i added this to make it work

<script type="text/javascript" language="javascript">document.write("%folder%" != "/" ? "<a href=\"%folder%~folder.tar\"><font color=red>Folder Archive</font></a>" : "");</script>

the problem is that every user can make a download of the folder now wheter if i make the folder archivable in HFS or not. If it's not possible for the user's maybe its possible to make the .tar archive password protected?

Thank's alot, greetings form the land of smile
Title: Re: Archive Download just 4 some User's
Post by: maverick on November 06, 2007, 01:49:56 AM
Quote from: Hili
Is it possible do able the archive folder download just for special user's?

In the vfs, right click on the archive folder and select 'restrict access' to choose who you want to be able to download the file.  You may also want to check your menu setting -> virtual files system -> list protected items only for allowed users for the type of behavior you want.
Title: Re: Archive Download just 4 some User's
Post by: rejetto on November 06, 2007, 02:29:35 AM
if a user wants to download everything, he will use a download manager, that will have a huger overhead than the folder archive.
so what would you gain by protecting the archive alone? some users who don't, and some who does but making more overhead. doesn't seem a big deal.