rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: budro on November 10, 2008, 01:39:39 AM
-
Ok, so is there a way to create a direct login link? Like, i know the login is at "~login" is there any switch i could use to alter that in order to have someone redirected straight to their page? for instance, i know with the FTP protocol you could go something like "ftp://test:test@whatever.com"
could we do something similar to that?
-
indeed you can,
just use http://test:test@whatever.com
-
that doesn't work like I want it to. it takes you to the site, then asks something like "this site is trying to log you in as... could be a trick continue?" then I hit yes, then it goes to my site, but is not logged in until you hit the 'login' button, which is not what i want, i want it to automatically be logged in
-
i fear this cannot be done at t he moment
-
Ok. New alternative then, when i attempt the method given above, my browser gives me an error message saying basically 'someone may be tricking you... do you want to log in with this name and password?' is that from HFS? Because if HFS sends that error, I would love to know how to change it.
The goal here is a work around for a logout system. They would click the logout button, which hyperlinks them to, say, http://logout:logout@httpserver.com and once they've done that, all permissions will be removed. so if i could change that error message, i could change it to something to the effect of "you've now logged out" or something
thanks
-
I don't want to ruin your day but I had that exact same idea some time ago and it never worked.
The reason it didn't work is because unless you close the browser, the username/password you were using previously is remembered by the browser and when you once again browse to a restricted folder those credentials are then used automatically.
-
Ok. New alternative then, when i attempt the method given above, my browser gives me an error message saying basically 'someone may be tricking you... do you want to log in with this name and password?' is that from HFS? Because if HFS sends that error, I would love to know how to change it.
That message is from your browser.
-
that's because HFS uses standard http authentication.
in the future hfs will use cookies/sessions, and such limits will be passed
-
ok thanks guys
looking forward to cookies :D