rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Giant Eagle on April 04, 2007, 12:09:34 PM
-
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.
-
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?
-
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="" />
Then the output would be:
[attachment deleted by admin]
-
I think that is something that should even get implemented into the default template.
MarkV
-
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?
-
:o i like this idea.
-
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?
-
A work around for now is folder Comment with
<img align=top src="/~img12" alt="Private"> Log In Required
for 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 ?
-
Or do i get it wrong again?
wrong because http authentication is stateless... long story
-
A work around for now is folder Comment with
<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
-
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.
-
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 :)
-
ok accepted
-
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
-
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 ;))
-
Hello,
how can i use the %protected% feature? I use the version 0.92 with the default template.
What have i to modify?
Thx
-
Nothing, the default template already has it included ;D
-
Nothing, the default template already has it included ;D
He GE this feature isn't still in Terayon ??? or yes ???
f.
-
I wouldn't include it in Terayon until this feature is available in the official HFS version.
Still #088 on the download page.
-
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
-
I only asked because I've supposed something wrong in my italian environment.
ciao
f.
-
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!
-
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
-
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
-
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.