rejetto forum

Direct login links?

budro · 9 · 2701

0 Members and 1 Guest are viewing this topic.

Offline budro

  • Occasional poster
  • *
    • Posts: 13
    • View Profile
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?



Offline budro

  • Occasional poster
  • *
    • Posts: 13
    • View Profile
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


Offline rejetto

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

Offline budro

  • Occasional poster
  • *
    • Posts: 13
    • View Profile
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


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
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.


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
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. 
maverick


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
that's because HFS uses standard http authentication.
in the future hfs will use cookies/sessions, and such limits will be passed


Offline budro

  • Occasional poster
  • *
    • Posts: 13
    • View Profile