Questions tagged [http-authentication]

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.

622 questions
0
votes
3 answers

How to set up gerrit on tomcat7 with http auth on apache

OS - Ubuntu 14.04.3 LTC git, Tomcat7, mysql, apache2 were installed. I configured tomcat7 to support SSL: server.xml
Andrii Rallo
  • 87
  • 1
  • 12
0
votes
1 answer

How to proxy per-request WordPress user authentication data to another server in the same domain?

I’m using WordPress as my frontend for user administration, handling registration, logins, authentication and logouts. Users register and login using WordPress. The site has URLs served by a backend mod_perl server in the same domain. When a user…
0
votes
1 answer

How to design javascript prompt box with multiple fields

As far as I can tell from my research, you can't have a multiple-field prompt dialog with any built-in method you can call from JavaScript. So how do the homepages of most routers (192.168.0.1) develop the authentication prompt box, as shown…
Jay Ghosh
  • 674
  • 6
  • 24
0
votes
1 answer

Api credentials via HTTP Auth, good idea?

I'm developing a web API for my own services. Since the API will be restricted to a set of special users I need to validate credentials. I have seen many examples from payment gateways like Stripe, and they use a simple way to authenticate users:…
h3ct0r
  • 705
  • 1
  • 11
  • 23
0
votes
1 answer

Can I use "HTTP authorization" in HTTPS protocol?

Can I Use HTTP authorization in HTTPS protocol? I mean I will use following code in PHP. header("WWW-Authenticate: Basic realm=\"Admin authorization\""); header("HTTP/1.0 401 Unauthorized"); and echo $_SERVER["PHP_AUTH_USER"]; echo…
YouHoGeon
  • 405
  • 1
  • 3
  • 15
0
votes
0 answers

Apache AH01797 when disabled HTTP Auth for some files but not for some paths

I have an Apache 2.4 VirtualHost whose access is restricted by a AuthType Basic: DocumentRoot /var/www/www.example.com/public AuthType Basic AuthBasicProvider…
CDuv
  • 2,098
  • 3
  • 22
  • 28
0
votes
0 answers

Error while trying https authentication in Python 2.7

Getting this Error while trying https authentication in Python 2.7 C:\Python27\Scripts>python virustotal.py Traceback (most recent call last): File "virustotal.py", line 5, in
Shen
  • 1
  • 1
0
votes
0 answers

How to enable auth_basic only for POST requests in Nginx?

I am getting the following error message in Nginx : "satisfy" directive is not allowed here Here is my nginx config for basic HTTP authentication : location / { limit_except GET { satisfy any; …
ZianyD
  • 171
  • 2
  • 12
0
votes
1 answer

Is there any way to encrypt the Http basic authentication password in rails?

I have written the following in my controller: http_basic_authenticate_with name: "foo", password: "bar", except: [:new, :show, :edit, :create] but when I push it to my repo, the password is there for everyone to see. Is there any way to encrypt…
user2026178
  • 308
  • 2
  • 4
  • 21
0
votes
1 answer

PHP basic auth setHeader if data incorrect

I'm building an API endpoint. This endpoint needs to be secured by HTTP basic auth. If API requests access I would like to show http basic auth, if data is incorrect I would like to throw a 403 forbidden message. If data is correct I simply show…
peke_peke
  • 441
  • 7
  • 21
0
votes
2 answers

Sending username and password for HTTP Authentication

I'm developing some PHP pages that require HTTP Authentication. In some cases, displaying the logon prompt is fine, but in other cases (where I'm trying to provide access to an app on an ipad), it is not. Can a user send their username and password…
JEJoll
  • 547
  • 1
  • 6
  • 20
0
votes
1 answer

How to get user IP using basic-auth-connect and express

I have this simple node app running a web server using express and basic-auth-connect . I know that I can get the client IP address on app.get(...) using something like var ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress; But…
0
votes
1 answer

How do I use Http Digest Auth with volley on Android

I want to use Http Digest with Volley. So far I have used the following code: @Override public Map getHeaders() throws AuthFailureError { HashMap params = new HashMap(); String creds =…
MrShadow
  • 171
  • 3
  • 16
0
votes
1 answer

How to use HTTP Auth with Volley

I am using Volley's JsonArrayRequest to get JSON data from my webpage. Now I have added Basic HTTP Authentication to my webpage. How can I use HTTP Auth with Volley? And further if I add Digest HTTP Authentication to my webpage, How can I deal with…
MrShadow
  • 171
  • 3
  • 16
0
votes
1 answer

How to access datahug API via HTTP Authentication?

In Datahug's documentation, it states, 'Authentication is performed using HTTP Basic Authentication - A Datahug username and password will be required in order to access the API.' As a result, I've tried the below (with my username and password…
Chris
  • 5,444
  • 16
  • 63
  • 119