HTTP authentication is a method for a HTTP user agent to provide a user name and a certain proof confirming the user's identity when making a request. Various proofs define different HTTP Authentication methods, e.g. basic, forms, digest, or others.
Questions tagged [http-authentication]
622 questions
0
votes
2 answers
Is it a good practise to tread HTTP credentials as a part of a resource identifier?
I'm designing a service which will require HTTP basic or digest authentication. I'm trying to weight pros and cons of using HTTP credentials as a part of resource identifiers. Say each authenticated user has a list of contacts. Should the contacts…

Jan Wrobel
- 6,969
- 3
- 37
- 53
0
votes
1 answer
Trying to login with jsoup
I log in to the site (I know that because the result of the code shows me I am in: "Dilema Veche Contul meu Logout Întreb?ri frecvente ... etc) successfully but I cannot navigate the links of the website logged in, it seems that doesn't keep the…
0
votes
1 answer
How can I automatically authenticate a different site?
I have a Wordpress site, and I am using the API of a 3rd party searchprovider which uses Basic HTTP Authentication.
When the user searches on my site, a JS submits the search request to the 3rd party search provider, which returns the results if…

Ann Oni Mouse
- 3
- 1
0
votes
1 answer
Using nginx lua / perl or any other module to track failed authentication attempts
i am trying to build something which i don't know is possible, so i need some guidance. Basically my requirements are as following
1- Whenever user tries to authenticate using HTTP auth on nginx, i want to track if the authentication failed (so it…

user1461001
- 693
- 1
- 7
- 17
0
votes
1 answer
How should I handle user validation through Rhodes (without RhoConnect/Sync)?
I have a site build on rails that provides XML version of all relevant pages. Additionally, it has HTTP authentication.
My plan to handle login for the mobile app is to post the username/password to the login page and, assuming I get a good…

Dan
- 3,246
- 1
- 32
- 52
0
votes
0 answers
PHP File protection mechanism crashes because of FF
I have the following problem:
I have several image galleries which should only be visible to registered user.
The images are in one directory per gallery, each dir with a long, cryptic name.
But if you know the link, you can access the images…

DerWaldschrat
- 1,865
- 13
- 13
0
votes
1 answer
PHP - How to login via curl and download files?
Im using php, using curl Im accessing a directory on a server via http using httpauth. I pass it a username and password and it seems to work, but once I login how do I get the current directory and then proceed to download the files in that…

John
- 9,840
- 26
- 91
- 137
0
votes
1 answer
How to do Website Authentication in Java Applet?
I have a wireless IP camera and I want to make my own web page to show its live stream.
The address of the stream is "http://192.168.1.2:8082/index.cgi" (supposed) and it requires User authentication. This means that when we enter the above URL in…

Azeem Akram
- 223
- 6
- 9
- 21
0
votes
1 answer
grab file from php which forced to save as from another web server php with http authentication
i have a url from another server which having http auth enabled.
this specific url forces file to download a file.
I am trying here to grab the headers and set the headers back so that i can force the download from my php file after http auth done…

jit
- 1,616
- 3
- 21
- 49
0
votes
1 answer
Accessing password-protected news sites with valid password through c / libcurl
I've written a website crawler in C using libcurl that can scrape text content from any website if we wished.
However, what we need is to be able to crawl password-protected websites, such as large news publishers, with valid subscriptions. So we…

Manoj Solanki
- 96
- 1
- 6
0
votes
3 answers
Android HTTP Authentication error
final HttpClient hClient = new DefaultHttpClient();
final HttpPost hPost = new HttpPost(
"http://xxx.xxx");
try {
hPost.setHeader("Accept", "application/json");
hPost.setHeader("Content-type",
"application/json");
…

Hedam
- 2,209
- 27
- 53
0
votes
1 answer
digest authentication from silverlight and against a custom store using IIS 6
The server side of the requirement is digest authentication against a custom credential store (ala a membership provider) and on the client side a silverlight application making calls to a RESTful api.
i'm looking for pointers. Out of the box it…

Ralph Shillington
- 20,718
- 23
- 91
- 154
-1
votes
2 answers
PHP try/catch statement not working on different tabs/same browser
I am working with the following code on a PHP script:
try{
if(file_exists($dir."pid.txt"))throw new Exception("Process is already running");
}
catch(Exception $e){
die("Warning: ".$e->getMessage()." in ".$e->getFile()." on line…

delolmo
- 96
- 8
-1
votes
1 answer
Skip basicAuth for one route
I'm using node, express and connect for a simple app and have basic HTTP auth implemented as follows (lots of code left out for brevity):
var express = require('express'),
connect = require('connect');
app.configure = function(){
// other…

mrappleton
- 372
- 3
- 10
-1
votes
1 answer
PHP Digest authentication with MD5
I wrote a class to authenticate a user using HTTP Authentication the Digest way. I read a few articles and I got it working. Now, I would like to let it make use of Md5 passwords, but I can't seem to get it working, this is the function…

Roel
- 1,462
- 4
- 19
- 31