Re: Basic authentication with WEBrick?



On Sep 6, 2006, at 9:40 AM, vasudevram wrote:

We are using WEBrick on port 80 for development of a Rails app. [We may
move to Mongrel or some other option later].

Assume our host is http://my.host.com.

When we go to http://my.host.com, we get our Rails app's first page
shown correctly.
At this page we will have a login form with username and password.

But we also want to have one more level of authentication, before this
form is shown, a Web server authentication, i.e. when a user tries to
access the URL http://my.host.com, a login dialog should be shown
asking for a username and password - not the username and password of
the Rails app, but one that is handled by the WEBrick server - as I
think is possible (not sure) if using Apache as the web server. Is
there a way to do this with WEBrick?

http://microjet.ath.cx/webrickguide/html/HTTP_Authentication.html

--
Eric Hodel - drbrain@xxxxxxxxxxxx - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com



.



Relevant Pages

  • Encoded WebService SOAP Header?
    ... I would like to make these updates using Web Services. ... an attacker could simply replicate the username / password since I am unable ... Or is there another approach to encrypting these? ... I have tight control over both the web server and my client updating ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: OWA Change Password
    ... What do you mean by "external web server"? ... MVP - Exchange ... > that Daniel did not add to his directions. ... username and password to make it function. ...
    (microsoft.public.exchange.admin)
  • Re: Web site content determined by login credentials?
    ... I suggest you post your question in the ASP.NET newsgroup. ... "Michael Hogan" wrote in message ... > with a username and password on our web site that would allow our clients ... > Win2k and IIS for a web server, but we will soon be upgrading to Server ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Integrated Windows Authentication
    ... Yes the IIS is part of a domain... ... users on the web server and give them rights to certain pages and they could ... The error is just access denied in the browser after 3 attempts at putting ... in the username and password. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Encrypt data sent by browser using public key?
    ... > You'll need to re-encrypt on the Web server. ... SSL encryption terminates on ... > Web server authentication. ... >> IS there a way inside browser encrypt data that will be sent to a web ...
    (microsoft.public.security)