When a server allows access via Basic HTTP Authentication, what is the experience expected to be on the browser?
I typically just do this with curl:
curl -u myusername:mypassword http://somesite.com
And it works just fine. However, right now I don't have access to curl (long story), and I want to just do it from the web browser, if p...
I'm writing a smallish web service in Ruby using Sinatra. Access to pretty much everything is controlled using http basic auth (over https in production).
There is one particular directory that I want to exclude from requiring authorization. Is there an easy way to do this?
...
I'd liketo use Powershell to post a new action to my Vitalist.com account.
The Vitalist API documentation is here.
I've tried HttpWebResponse in Powershell but I'm missing something. Any pointers are appreciated.
Thanks.
...
I am working on a site that uses Facebook Connect for user login/creation. I have a development server which is used for QA, and I'd like it to be password protected. We wanted to use HTTP basic authentication, but that seems to break Facebook Connect (it falls in a loop). Does anybody know why that may be happening?
I believe that basi...
http://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=70647
Only accept messages that are
authenticated by HTTP Basic
Authentication, using your Merchant ID
and Merchant Key as the username and
password.
Any idea on how to set this up ? (HTTP Basic Authentication)
...
I want to store the HTTP basic authentication headerline in an authentication cookie, so that I don't have to deal with the authorisation header in subsequent requests (I'm using JQuery):
authenticate: function(auth) {
var header = "Basic " + $.base64.encode(auth.username + ":" + auth.password);
document.cookie = "Authorization:...
I need to get the remote user name in my CGI script. Where do I find that? I want to display that name on the page that I return.
...
Hi! I am newbie in Spring Security 3, and I am having the next problem.
Using the spring-security Namespace, I try to configure a single basic authentication, in wich I want only to filter the POST method.
From my servlet.xml configuration:
<security:http auto-config='true'>
<security:http-basic></security:http-basic>
<securi...
Hi people!
I am trying to do a really simple basic authentication with Spring Security. I have configured properly the namespace, and there are no Exceptions in the server. In my "servlet.xml" I have got the next for Spring Security:
<security:http>
<security:http-basic></security:http-basic>
<security:intercept-url method="POS...
I have a Rails 2.3.x app that implements the act_as_authentic in User model and a UserSession model as per Authlogic Github example. I am implementing an API to allow access from iPhone. Will be using HTTP Basic authentication via https (will not implement single access token). Each API call requires a username/password for the access.
...
Hi! I am enabling a simple HTTP Basic Authentication with Spring security in my project. My environment is an Glassfish Server (bundled with Netbeans), and almost everything works perfect: I have set up it to just ask for authentication with the POST method, with hardcoded users with "user-service", and it works with user names with no s...
I have a Java based web service that requires basic authentication to communicate with it. If I type the WSDL url into my browser I'm prompted for Basic Auth. Which I can get by entering the correct credentials.
However using my WCF client doesn't work.
I construct my WCF client like this:
var binding = new BasicHttpBinding
{
MaxR...
I'm trying to get http basic authentication working on my rails app. I am running the app with nginx and passenger. I have the authlogic gem working and my authentication works. I have even used the single_access_token successfully. For some reason though, I am not able to authenticate using http basic authentication. As I understand, I ...
I'm looking for examle/tutorial showing implementation of both client and server side code.
Client - simple html webform containg three controlls: username, pasword input and a submit button.
Server - a program written in c/c++ that receives username and password from the client and verifies them(sql or simple file).
...
Hi there!
I am programming an iPhone application. My (existing) web-application uses Ruby on Rails (2.3.2) to serve the data. Ruby on Rails backend uses restful-authentication gem to authenticate the users.
To get user data from the server to the iPhone app I use HTTPRiot framework and authenticate user with HTTPBasicAuthentication.
N...
I have a webpage that is only accessible over http basic auth. How can I figure out the basic auth username in javascript in that page. i.e. when someone visits it (after logging in), I want to make a popup that says "Hello, you're currently signed in as the user $USERNAME"
...
When I use HTTP BASIC authentication along with HTTPS, are the username and password securely passed to the server?
I would be happy if you can help me with some references.
I mean, it would be great if I can cite StackOverflow Q&A as a reference in, say, assignments, reports, exams, or even in a technical paper. But I think I am not t...
Hello
I want to write a crawler in Java which logins to gmail account automatically. My crawler will take login Id and Password and will login to email account and displays the output page. I don't have clear idea as to how do I do this. I have tried to post some data to a blog with HTTP client So i am familiar with basic GET and POST ...
Hi,
We have few sites on a Unix server that we monitor using monit. All sites are monitored correctly except for 2 that require http-basic-auth.
I have passed the credentials in the URL like below as suggested by the monit 4.8.1 documentation:
check host aHost with address anIPAddress
if failed url http://username:password@anIPAdd...
When using Authlogic's HTTP Basic auth, UserSession.find returns nil since the session appears not to be set. As a result, declarative_authorization, which references the usual current_user method (as below), can't find a current user.
def current_user_session
return @current_user_session if defined?(@current_user_session)
@curr...