Questions tagged [http-digest]

42 questions
15
votes
4 answers

How to do request HTTP Digest auth with Node.JS?

I have to write some code with Node.JS for an API documentation, but I tried the last few days all the solutions I could found on the web (including Stack of course) without succes... My API use HTTP Digest Auth and that's the problem, I was able to…
Milo
  • 151
  • 1
  • 1
  • 4
7
votes
2 answers

Using HTTP Digest Authentication on the iPhone

I have an app that communicates with a server that uses HTTP Digest authentication. It seems to me that the 'session' management within the iPhone is pretty "black box" to us developers. Is it true that we can't see how the framework handles /…
Jasarien
  • 58,279
  • 31
  • 157
  • 188
5
votes
5 answers

Using hash of password with SSL

OK this might sound like a strange question. Please read carefully before jumping on me OK? ;-) Imagine this situation: We have a server and a client. They connect using SSL. Client creates account on server with password. But, what he actually…
John
  • 1,974
  • 2
  • 25
  • 32
4
votes
1 answer

need Symfony2 http_digest firewall configuration example

i want to change http_basic to http_digest for a firewall, but it is not really documented how to configure http_digest. There reference seems to be incomplete or not up to date: http://symfony.com/doc/2.0/reference/configuration/security.html…
Sebastian
  • 43
  • 4
4
votes
0 answers

Restlet with GWT to call REST service with HTTP DIGEST

i m using GWT 2.2 and restlet-gwt-2.1m4. i m trying to call a rest service that uses HTTP Digest. So i used the tutorial on Restlet wiki : http://wiki.restlet.org/docs_2.1/13-restlet/27-restlet/46-restlet/112-restlet.html First thing is this does…
guigui42
  • 2,441
  • 8
  • 35
  • 48
4
votes
1 answer

AngularJS and Digest HTTP Authentication

I am trying to implement the digest auth algorithm in angular. However, the lack of knowledge about the requests angular will send stops me from perceiving that goal. My approach is to transform the request via the…
4
votes
1 answer

Symfony2 + FOSUserBundle: http_basic authentication works, http_digest fails

I'm configuring a Symfony2 application using the FOSUserBundle to use http_digest authentication. This is with Symfony 2.1.0-BETA2. In security.yml, I am simply switching out http_basic for http_digest and adding the required key property. All else…
Jon Cram
  • 16,609
  • 24
  • 76
  • 107
3
votes
0 answers

.NET 5 HttpClient Digest Authentication

I'm trying to use HttpClient to do digest authentication in .NET 5 to work with mongoDB Atlas. The workaround suggested in .Net Core HttpClient Digest Authentication no longer works for .NET 5. for example, this…
Amir Harari
  • 121
  • 12
3
votes
0 answers

urllib2 HTTPS connection over a digest auth enabled proxy gives 407

I'm trying to fetch HTTPS pages through a proxy with digest authentication. I use Python 3.4.3 and urllib. Third-party libraries such as requests are not in my consideration. Here are my codes: import urllib.request class…
Chih-Hsuan Yen
  • 754
  • 2
  • 11
  • 29
3
votes
0 answers

Use "AuthType Digest" for a given subdirectory whose parent uses "AuthType Basic"?

I'm using Apache 2.2 and I have an application (Zend Framework 1) that is protected by an HTTP authentication with: AuthType Basic AuthName "Please login to use this app" AuthBasicProvider file AuthUserFile ..../.htpasswd Require valid-user And…
CDuv
  • 2,098
  • 3
  • 22
  • 28
3
votes
2 answers

How to secure a Lithium php RESTful API?

I have created a RESTful apps using Lithium php framework and now my question is how to secure it? Is there any existing code for OAUTH or HTTP Digest Authentication that uses lithium framework?
John Laniba
  • 435
  • 3
  • 12
2
votes
0 answers

Is there a way to authenticate SOAP clients through digest?

I'm programming a web service in Java EE and need to secure the connection. For this purpose I will use HTTPS. But, I need to authenticate the user who calls the web service. The hardware which consumes the web service wants to authenticate itself…
AdemC
  • 406
  • 6
  • 16
2
votes
0 answers

How to use npm 'request' package for HTTP digest authentication in a POST Request?

I am trying to use the npm request (https://www.npmjs.com/package/request) package to perform a POST request with HTTP Digest Authentication. How could i use the 'request' package to perform HTTP Digest Authentication? Here is a valid cURL command…
devashish jasani
  • 413
  • 1
  • 4
  • 15
2
votes
1 answer

How to enable HTTP digest for embedded jetty / spring security?

I have two small http servers. One using the sun (com.sun.net.httpserver) server and one using an embedded jetty. Now I'm trying to get HTTP digest working on at least the jetty server (well, that was one of the reasons to use jetty instead of sun…
Norbert Hartl
  • 10,481
  • 5
  • 36
  • 46
2
votes
1 answer

How to get Digest authentication right

I try to write a C++-application and I have to do HTTP Digest Authentication. The problem is not primarily about C++, but about the fact, that the connection is not being established. The website I try to access is the following:…
Max Beikirch
  • 2,053
  • 5
  • 25
  • 36
1
2 3