rejetto forum
May 25, 2012, 04:05:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Feedback for user uploads -- the progress window  (Read 2488 times)
0 Members and 1 Guest are viewing this topic.
boblowski
Occasional poster
*
Offline Offline

Germany Germany

Posts: 3


View Profile
« on: April 01, 2008, 01:19:04 PM »

First, as a new HFS user, I would like to say thank you for HFS! It really is an excellent piece of software. A PayPal donation is on its way to you :-)

For security and management reasons, I am running HFS behind a reverse proxy. Everything works flawlessly, except for one little thing. For the same reason as noted in your description of using Stunnel with HFS, because HFS only sees the IP address of the reverse proxy as client address, if a user opens the progress window, he will see all current uploads and downloads to the server. This is not only a security concern, but as I found out, also confuses many users.

Would it be possible to change the progress window, such that it will only show the uploads en downloads from that specific logged in user?

Thanks and cheers, Bob


Logged
rejetto
Administrator
Insane programmer
*
Online Online

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: April 01, 2008, 10:01:27 PM »

There's a little problem:
due to the limitations of the current login system, it may easily happen that people downloads some files with an account, and others anonymously.
This means the change you are asking would affect negatively other people.

But I have a solution for you. Wink
I will introduce in next beta version a new symbol %item-user% available in section [progress-download-file]
By comparing %item-user% with %user% you will be able to show only the items of the current user, as you asked, but you will have to be sure the browser accesses /~progress by using the username.

In short: you'll have to right click on the root, "diff template" and put something like this
Code:
[progress-download-file]
{.if| {.%user% = %item-user%.} |

<span class=flag>&nbsp;down&nbsp;</span>
<span class=filename>%filename%</span>
<div class=bytes>
%done-bytes% / %total-bytes% bytes
<br />Speed: %speed-kb% KB/s
</div>
<div style="margin-top:5px; margin-bottom:20px;">
  <div class=out_bar><div class=in_bar style="width:%perc%px"></div></div> <span class=perc>%perc%%</span>
</div>

/if.}

I cannot be sure this is going to fit your needs.
Remember this will work only from next beta (184)

Thank you for considering a donation Smiley
Logged
boblowski
Occasional poster
*
Offline Offline

Germany Germany

Posts: 3


View Profile
« Reply #2 on: April 03, 2008, 03:31:58 PM »

Thanks for your reply. Sounds like a good and usable solution. I'm looking forward to beta 184 to give it a try.

Thanks and cheers, Bob
Logged
MarkV
Insane poster
*****
Offline Offline

Germany Germany

Posts: 725



View Profile
« Reply #3 on: April 03, 2008, 05:08:27 PM »

Already out.
Logged

Welcome to Twinkle Park! Grin
Fysack
Insane poster
*****
Offline Offline

Norway Norway

Posts: 378


present picture


View Profile WWW Email
« Reply #4 on: April 03, 2008, 07:30:31 PM »

Cool. An other hardcore dude that like HFS.
I hope you will share your wisdom with us your dudeness, welcome

"The sky is the limit"
Logged

it`s no greater pleasure, than someone is happy that you exist
boblowski
Occasional poster
*
Offline Offline

Germany Germany

Posts: 3


View Profile
« Reply #5 on: April 04, 2008, 11:44:33 AM »

Perfect. I'm going to give it a try first thing this sunday :-)

Thanks!
Logged
rejetto forum
« Reply #5 on: April 04, 2008, 11:44:33 AM »

Do you like this software? Consider even $2
 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 24, 2012, 11:36:05 AM
anything