Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to login automatically? #16

Closed
ysmood opened this issue Mar 1, 2014 · 4 comments
Closed

Is there a way to login automatically? #16

ysmood opened this issue Mar 1, 2014 · 4 comments

Comments

@ysmood
Copy link

ysmood commented Mar 1, 2014

Typing user name and password every time is painful. I know you don't support ssh-key.
Maybe you can support a way to save user name and password in the browser, if the user really know what he is doing.

@paradoxxxzero
Copy link
Owner

Maybe http authentication could allow users to save their password.
As of now there is an hidden feature which makes all text in the url after # being typed in the terminal. You could use it to save the password in a bookmark if you really are crazy :)
http://myserver:57575/user/foo#bar if foo your user and bar your password.

@ysmood
Copy link
Author

ysmood commented Mar 2, 2014

@paradoxxxzero Great work!

@ysmood ysmood closed this as completed Mar 2, 2014
@oldgregg-zz
Copy link
Contributor

There's some code in my SSL patch that would allow users to authenticate their user id through http client certificates. There'd be nothing to stop you from from treating them more like SSH keys, where the certificate is sufficient to log in.

I'd generally shy away from the automatic echoing of text into a session, as you could get into a bad situation where you allow people to execute code on your machine. Consider a link that looks like this: http://localhost:57575/user/youruser#date

This one is benign, only printing the date.

I understand you have the "origin" check in place now, but that sort of check doesn't help if the user accidentally clicks a link from within their butterfly instance.

@paradoxxxzero
Copy link
Owner

Agreed, This was a dangerous feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants