rejetto forum

%protected% - Request

0 Members and 1 Guest are viewing this topic.

Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
I personally hate it when i browse a file server where a huge list of folders are displayed which are all restricted to users. ;D

So, wouldnt it be nice to have %protected% - [protected] where you can put up an image (Like a Lock or something) that will only show up when login is required for that particular file and / or folder.



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
HFS cannot know when the login dialog will pop up on the browser, because the browser decide itself how to store and use passwords.

anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?

Would it be able to do this: (If yes, :D then thats exactly what i wanted)

Lets say the folders Media and Template are restricted to users only.

and that [protected] contains something like this:
<img src="lock.jpg" alt="" />&nbsp;

Then the output would be:

[attachment deleted by admin]


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
I think that is something that should even get implemented into the default template.


MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Then the output would be:

that's exactly what i already got in your previous explanation.
what i told you is that when you click on those folders, the browser may remember the password, and access the folder using the password: no login dialog.
is it clearer now?
is it a problem?


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com

that's exactly what i already got in your previous explanation.
what i told you is that when you click on those folders, the browser may remember the password, and access the folder using the password: no login dialog.
is it clearer now?
is it a problem?

Yes, its clearer =D

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?


Guest

  • Guest
A work around for now is folder Comment with
Code: [Select]
<img align=top src="/~img12" alt="Private"> Log In Requiredfor all protected folders.
If %protected% is implemented, I hope it will be selectable, so it can be
turned off.
I probably don't understand this well, but what about a case where there
are several folders protected, but each user only has access to part of them ?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Or do i get it wrong again?

wrong because http authentication is stateless... long story


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
A work around for now is folder Comment with
Code: [Select]
<img align=top src="/~img12" alt="Private"> Log In Required

How looks the complete path to the icon if my Filesystem locally stored in d:\webserver\webroot ??

Thank you
« Last Edit: April 05, 2007, 06:02:19 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 rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
you don't have to care on how it is stored in your hard disk.
you only have to care on the path in your virtual file system.


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
wrong because http authentication is stateless... long story

Ok, nevermind that :P

anyway, HFS can know whan items are protected. i can insert the %protected% there. is it ok?

Yes, thats the main reason i wanted %protected% in the first place :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
I personally hate it when i browse a file server where a huge list of folders are displayed which are all restricted to users. ;D
What is the adress? Do they have porn`?  ;D
GOD CAN READ YOUR MIND


Offline Giant Eagle

  • Tireless poster
  • ****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
undoubtly.. but its restricted..

So i hope those lock images will reduce my hope in a search for free porn on the web ;D



(Im not inviting you to spam links now  ;))