rejetto forum

Archive Download just 4 some User's

Hili · 3 · 2311

0 Members and 1 Guest are viewing this topic.

Offline Hili

  • Occasional poster
  • *
    • Posts: 4
    • View Profile
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


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
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.
« Last Edit: November 06, 2007, 02:35:18 AM by maverick »
maverick


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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.