Author Topic: %protected% - Request  (Read 7093 times)

0 Members and 1 Guest are viewing this topic.

Offline Pit

  • Tireless poster
  • ****
  • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Re: %protected% - Request
« Reply #15 on: April 09, 2007, 01:33:20 PM »
Hello,

how can i use the %protected% feature? I use the version 0.92 with the default template.
What have i to modify?

Thx
« Last Edit: April 09, 2007, 01:41:28 PM by Pit »
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org

Offline Giant Eagle

  • Insane poster
  • *****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: %protected% - Request
« Reply #16 on: April 10, 2007, 05:31:13 AM »
Nothing, the default template already has it included ;D

Offline fabnos

  • Tireless poster
  • ****
  • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Re: %protected% - Request
« Reply #17 on: April 10, 2007, 08:31:35 AM »
Nothing, the default template already has it included ;D

He GE this feature isn't still in Terayon  ??? or yes  ???

f.
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12489
  • Country: it
    • View Profile
Re: %protected% - Request
« Reply #18 on: April 10, 2007, 12:54:13 PM »
I wouldn't include it in Terayon until this feature is available in the official HFS version.
Still #088 on the download page.

Offline Giant Eagle

  • Insane poster
  • *****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: %protected% - Request
« Reply #19 on: April 11, 2007, 01:40:06 AM »
I agree to rejetto.

If the a stable release will be released, i will also release a new version with the new feature installed.

Just be patient  ;D

Offline fabnos

  • Tireless poster
  • ****
  • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Re: %protected% - Request
« Reply #20 on: April 11, 2007, 01:51:20 AM »
I only asked because I've supposed something wrong in my italian environment.
ciao
f.
E allora Dio creò l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them

Offline TSG

  • Operator
  • Insane poster
  • *****
  • Posts: 1932
  • Country: au
    • View Profile
    • RAWR-Designs
Re: %protected% - Request
« Reply #21 on: April 11, 2007, 03:18:54 AM »
It works well, but what i don't understand is why when you have logged in, items that your account can download still has the protected tag visible, shouldn't it then disappear?

I am currently testing this feature in my template, if it doesn't come out on the stable release for a while, i will just comment it out when i release it, BIG changes to the ToG template since the last release!

Offline maverick

  • Insane poster
  • *****
  • Posts: 1052
  • Computer Solutions
    • View Profile
Re: %protected% - Request
« Reply #22 on: April 11, 2007, 04:47:11 AM »
It works well, but what i don't understand is why when you have logged in, items that your account can download still has the protected tag visible, shouldn't it then disappear?

See here where I confirmed this same problem -> http://www.rejetto.com/forum/index.php?PHPSESSID=88a39d34a8b5c5c937d3db2b968b8e39&topic=4384.msg1022965#msg1022965
maverick

Offline Giant Eagle

  • Insane poster
  • *****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: %protected% - Request
« Reply #23 on: April 11, 2007, 05:47:42 AM »
It works well, but what i don't understand is why when you have logged in, items that your account can download still has the protected tag visible, shouldn't it then disappear?

I am currently testing this feature in my template, if it doesn't come out on the stable release for a while, i will just comment it out when i release it, BIG changes to the ToG template since the last release!

I already suggested that:

Another thing,

Wouldn't it be possible that, when you are logged in, some of the 'locks' go away. Cause hfs can show (in the account menu) which folders are accessable by a certain user; couldnt this information be used to show and hide certain locks when a user logs in?

Or do i get it wrong again?
wrong because http authentication is stateless... long story

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12489
  • Country: it
    • View Profile
Re: %protected% - Request
« Reply #24 on: April 19, 2007, 09:40:32 AM »
well, ATM hfs doesn't even check if the file is accessible by the current user.
i didn't because it wouldn't always work.

if you have folder A and subfolder B, where B is protected and A is public.
when you access B, you get the login dialog, then you access B as the user.
if you then click UP, most browsers re-access A as anonymous, because it remembers it needed NO user to access it.
It is a good behaviour for privacy reasons, but HFS would then show you the B with a lock icon.
So, since this doesn't always work, i'm unsure it is a good thing to make it only some times.
But i'm changing my mind, and thinking it may be good for the sub-items, so maybe in the next build will try.