rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Anonymous on December 07, 2003, 07:24:26 AM
-
I like the added function of only allowing users to see the folders they have access to but to have that work, you have to protect the root.
If the root is not protected, they get only the list of unprotected folders.
Is there a way to have this work without protecting the root
ex. adding a login to the roots page?
-
they could just type the URL in the form
http://user:pass@myip
i already tried to add a "login" link in the html, and i had problems with it.
i do not remember ATM...
-
I tried that and still the only folder that appears in the non protected folder. I looks like the root will have to be protected to give the users access to their folders
-
hmm, i just tried and it works to me
please, double-check
-
I just tried again and still I only get the unprotected folders. I am using 1.5G. I login using http://username:password@ip address:port number and login to the root, but only the unprotected folders show up. To get the other folders to showup, I have to type in the folder after http://username:password@ip address:port number,
Is this the same thing you did to get it to work?
-
weird :?
-
Are you sure your protected folder isn't marked hidden?
I have just done a test, with a protected and un unprotected folder and I came to the following conclusion:
URL: http://host:port/ -> protected and unprotected folder is visible
URL: http://user:pass@host:port/ -> same result, protected and unprotected folder is visible
-
URL: http://host:port/ -> protected and unprotected folder is visible
URL: http://user:pass@host:port/ -> same result, protected and unprotected folder is visible
uh?
did you enable the list protected items... option?
-
did you enable the list protected items... option?
Sorry, I didn't enable that option...
-
what a weak sight
it is not in that menu, it is in the "Virtual file system" menu
-
Rejetto, are getting the same problem I am getting with the root login or is it still working for you?
If you have it working, could you explain how you did it in regards to how I did it.
thanks.
-
1. enable list protected items only for allowed users
2. put an item in the VFS
3. right-click the item: access for users: choose a user
4. try browsing with URL in the form http://user:pass@host:port/
Tim, does it work for you now?
-
1. enable list protected items only for allowed users
2. put an item in the VFS
3. right-click the item: access for users: choose a user
4. try browsing with URL in the form http://user:pass@host:port/
Tim, does it work for you now?
I'm sorry this won't work for me.
This is what I have done:
1. Enabled option "list protected items only for allowed users"
2. Made a virtual folder with name "protected" and one with name "unprotected"
3. Folder "protected" has access only for user with name "user" and password "pass".
4. I browsed to http://user:pass@nettp.homeip.net:9080/ with Internet Explorer, Internet Explorer directly changes the url to http://nettp.homeip.net:9080/ and I only see the folder "unprotected"
5. This is wat I found out: when I surf directly to http://user:pass@nettp.homeip.net:9080/protected/ then I'm in the protected folder and when after that I surf to http://nettp.homeip.net:9080/ I see also the protected folder listed.
You can try this for yourself with the URL above as long as I'm online.
-
No. It was OK when I tried it (on your PC)
It only happens when you browes your own PC (I think. It happened on my PC when I did the same here...)
try on mine: (will be open for a while for you )
http://rafi@rafi.homeip.net/protected
-
try on mine: (will be open for a while for you )
http://rafi@rafi.homeip.net/protected
I have the same on your PC:
1. When I browse directly to http://rafi@rafi.homeip.net/ then I don't see the folder protected listed.
2. When I first browse to http://rafi@rafi.homeip.net/protected/ and after that without closing the browser to http://rafi@rafi.homeip.net/ then I do see the folder protected listed, because the browser remembers the username rafi now.
But it seems like when you surf directly (with a fresh opened browser so no username is remembered) to your root he won't accept the username.
-
try on mine: (will be open for a while for you )
http://rafi@rafi.homeip.net/protected
I have the same on your PC:
1. When I browse directly to http://rafi@rafi.homeip.net/ then I don't see the folder protected listed.
2. When I first browse to http://rafi@rafi.homeip.net/protected/ and after that without closing the browser to http://rafi@rafi.homeip.net/ then I do see the folder protected listed, because the browser remembers the username rafi now.
But it seems like when you surf directly (with a fresh opened browser so no username is remembered) to your root he won't accept the username.
your # 2. is wrong !
it should be:
http://rafi@rafi.homeip.net/protected/
and then:
http://rafi.homeip.net/ or "UP" (no user/PW...)
-
it should be:
http://rafi@rafi.homeip.net/protected/
and then:
http://rafi.homeip.net/ (no user/PW...)
Yes okay, but this won't make any difference.
But when you open a new browser window and you surf directly to http://user:pass@nettp.homeip.net:9080/ or http://rafi@rafi.homeip.net/ do you then see the folder "Protected" listed?
-
No. May be this is the problem. It SHOULD show it... ? 8O
Edit:
I think you are right, it should show it the first time. May be an IE6 problem ?
-
I'm sorry for not being clear in the beginning of this post because this is what I was trying to explain. Using http://user:pass@host:port works as long as you protect the root. If the root is not protected, which is what I started this about, http://user:pass@host:port will only show the unprotected folders and not the protected folders. So you will have to know the name of the protected folder you want to get to.
Rejetto, have any idea why it works for you and noone else?
-
ok, i found
it is Exploder that ignores user/pass in the URL, until the page is denied.
but i can't deny the root page if it is not actually protected, because this would cause unauthenticated users to not browse unprotected resources.
...looking for a solution... :read:
-
I see.
Thanks for looking into it
I will protect the root then.
-
next version will fix this
-
Are you speaking of V2.0?
If so any ETA?
-
nope
HFS 2 could come during my holidays, as i already said, but that's not assured. i will have so much other work to do.