Questions tagged [http-basic-authentication]
256 questions
1
vote
0 answers
Prevent Authentication Prompt When Streaming Office Documents
I have an issue where when streaming office documents from SQL Server, an authentication dialog prompts for credentials even though the user has been authenticated via basic auth in the browser. Clicking cancel on the auth dialog still allows the…

EdenRockStar
- 11
- 1
1
vote
1 answer
Basic authentication not occurring to a remote machine on IIS7
I have a sub-directory of my IIS7 website that I want to lock-down with basic authentication. I've gone into IIS manager, chosen Authentication the designated directory and enabled Basic Authentication and disabled all other kinds. When I browse to…

splattered bits
- 928
- 3
- 11
- 23
1
vote
1 answer
mercurial hgwebdir error with basicauth in apache2
I'm having kind of a strange error that I'm trying to track down. I was trying to setup mercurial on my home server this weekend. I seem to have it running up to the point where I'm trying to get repositories published correctly.
I'm running…

Dio
- 131
- 4
1
vote
2 answers
Dynamic AuthUserFile in apache with mod_rewrite. Is it possible?
I've got a server with several scponly accounts and I want to provide http access under Basic Auth.
The first part of the problem is solved, using mod_rewrite to chop and select the right directory for each user. But the problem arise when I try to…

theist
- 1,229
- 2
- 10
- 24
1
vote
2 answers
http basic auth using .htacces/.htpasswd allowing slightly incorrect passwords
I've got a few sites with directories protected by http basic auth implemented via .htaccess files paired with .htpasswd files. I've noticed that with a password ending in "et!" I can get in by omitting the "t!", or replacing the ! with a…
CWSChris
1
vote
1 answer
New user fails authentication with Gerrit setup using proxy HTTP while other users work
We have an issue with authenticating a new user on our Gerrit setup.
We are running Gerrit 2.16 using proxy HTTP behind a dedicated nginx server. The nginx server listens on port 8080, does basic authentication and then relays the requests to Gerrit…

tonyeva
- 111
- 3
1
vote
1 answer
HAproxy's http-check to a site requesting basic auth
HAproxy should use httpchk against a page that requires authentication via basic auth.
backend backendname
option httpchk
http-check send meth GET uri /check/path/ ver HTTP/1.1 hdr Authorization 'Basic [base64 of the credentials]'
…
1
vote
0 answers
Nginx basic_auth for entire site (reverse proxy) except for a "hidden" URL which should access all content without basic_auth
TL'DR
set a gibberish URL in nginx site definition that would bypass basic-auth to reverse-proxy
More details:
I have a setup with Grafana running on a VPS and an nginx reverse proxy directing towards it behind basic auth. The setup works fine but…

bosch
- 185
- 6
1
vote
1 answer
Apache 2.4, reverse proxy, forward credentials (basic auth)
I want to pass the basic authentication credentials to the reverse proxy server.
Example of how it works now:
User accesses the website, Apache is configured to ask for basic auth, user enters username and password, if correct, user is connected to…

Tomari
- 11
- 2
1
vote
2 answers
HTTPD server does LDAP authentication. How does the mechanism work?
I have a HTTPD apache server which does LDAP authentication. When the user hits the URL http://localhost/, a browser prompt pops up asking for username and password.
How are the username and password carried from browser to the HTTPD server ? Are…

Vinayak
- 73
- 7
1
vote
1 answer
Varnish with Basic auth returns 401
I've tried to configure Varnish on server which has Basic Auth authentication by using these solutions:
https://stackoverflow.com/a/40424168/7202171
https://blog.tenya.me/blog/2011/12/14/varnish-http-authentication/#comment-2882579903
but it…

Major Kuprich
- 13
- 5
1
vote
1 answer
Nginx Http Basic Auth Security
So lets say I host something like netdata dash board on port 6000.
Then I nginx reverse proxy it to the subdomain netdata.domain.com
While basic auth is applied at the nginx.conf to allow site wide protection.
My question is, since my connection to…
user760466
1
vote
1 answer
nginx basic_auth fails when moving outside location, to "root"
This works:
location /someplace/ {
auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/.htpasswd;
}
I go to /someplace/ and I get prompted for the user and password and can authenticate successfuly. However, moving those exact lines…

Ivan
- 3,172
- 4
- 25
- 34
1
vote
1 answer
Is it possible to use a auth_basic password protection using linux users and passwords?
I'd like to password protect a website allowing only Linux users and their passwords stored in /etc/passwd and /etc/shaddow to login.
Apache and nginx allow to restrict accessung by using a HTTP auth_basic using specific user and password files. Is…

lumbric
- 234
- 2
- 9
1
vote
0 answers
curl not sending credentials during negotiation
We have a Jenkins server that uses Kerberos-SSO, with a fallback to Basic if SSO is not configured on the browser or using curl.
When I use curl with the --negotiate argument, however, it doesn't send basic credentials information when asked for it…

Sagar
- 534
- 3
- 7
- 21