There has been a security vulnerability in Rails in the HTTP digest authentication in Rails 2.3. That way someone can authenticate without any user name and password. The HTTP basic authentication seems to be not vulnerable to this problem.
The problem arises in the authenticate_or_request_with_http_digest method which will proceed even if the user name check returns nil.
You can find out more, including countermeasures at Nate’s blog and the Rails weblog.