Re: [gnome-db] How to authenticate with built in HTTP server?
Vivien Malerba <[email protected]> Mon, 1 Feb 2016 19:58:04 +0100
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <CAEP1ZN=FYobOUzzx8RS-0_a-hWXhcZzK+UKvXSAEh901D20QUw@mail.gmail.com> |
--===============4885565354885391347== Content-Type: multipart/alternative; boundary=001a11c32f28fb5e29052ab9f67b --001a11c32f28fb5e29052ab9f67b Content-Type: text/plain; charset=UTF-8 Hi! I can't test this right now, but if I remember correctly, you will need to enter the same password in the web browser before you can actually do anything. I'll check that ASAP and get back to you. However, beware that this is fairly insecure if you don't use HTTPS (anybody sniffing will get the password)... Regards, Vivien 2016-02-01 16:31 GMT+01:00 Chris Green <[email protected]>: > How is one supposed to authenticate when running console's built-in > HTTP server? > > If I run ".http 4444 password" the server starts up OK and I can go to > http://localhost:4444/ in Firefox but there appears to be no way to > enter the password. Normally systems which require authentication pop > up a window to ask for it but all that happens with this is that > Firefox says "Authentication Required" as the tab title. > -- > Chris Green > _______________________________________________ > gnome-db-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gnome-db-list > --001a11c32f28fb5e29052ab9f67b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">Hi!<br><br></div><div class=3D"gmail_default" style=3D"= font-family:arial,helvetica,sans-serif">I can't test this right now, bu= t if I remember correctly, you will need to enter the same password in the = web browser before you can actually do anything. I'll check that ASAP a= nd get back to you.<br><br></div><div class=3D"gmail_default" style=3D"font= -family:arial,helvetica,sans-serif">However, beware that this is fairly ins= ecure if you don't use HTTPS (anybody sniffing will get the password)..= .<br><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helv= etica,sans-serif">Regards,<br></div><div class=3D"gmail_default" style=3D"f= ont-family:arial,helvetica,sans-serif">Vivien<br></div></div><div class=3D"= gmail_extra"><br><div class=3D"gmail_quote">2016-02-01 16:31 GMT+01:00 Chri= s Green <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>></span>:<br><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How is o= ne supposed to authenticate when running console's built-in<br> HTTP server?<br> <br> If I run ".http 4444 password" the server starts up OK and I can = go to<br> <a href=3D"http://localhost:4444/" rel=3D"noreferrer" target=3D"_blank">htt= p://localhost:4444/</a> in Firefox but there appears to be no way to<br> enter the password.=C2=A0 Normally systems which require authentication pop= <br> up a window to ask for it but all that happens with this is that<br> Firefox says "Authentication Required" as the tab title.<br> <span class=3D"HOEnZb"><font color=3D"#888888">--<br> Chris Green<br> _______________________________________________<br> gnome-db-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no= referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-d= b-list</a><br> </font></span></blockquote></div><br></div> --001a11c32f28fb5e29052ab9f67b-- --===============4885565354885391347== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-db-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-db-list --===============4885565354885391347==--