Questions tagged [http-basic-authentication]
256 questions
0
votes
1 answer
How to exclude a specific URL from basic authentication in Apache?
Two scenarios:
Directory
I want my entire server to be password-protected, so I included this directory config in my sites-enabled/000-default:
Options FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Restricted…

ripper234
- 5,890
- 9
- 41
- 49
0
votes
1 answer
nginx shows 403 after http auth successful when proxying
I have a basic sinatra app which is behind nginx so that I can use HTTP Basic Auth to protect it, but I get a 403 Forbidden error instead of seeing the webapp. The app works fine when I remove the HTTP Auth lines.
The configuration looks something…

Swaroop C H
- 101
- 1
- 5
0
votes
1 answer
Apache HTTP-Basic Auth not working
I have a really simple authorization configuration, but I'm getting a weird message rather than a user/password field when I try to access the page.
Here's my .htaccess file:
AuthType basic
AuthName "No Way"
AuthUserFile…

Naftuli Kay
- 1,708
- 6
- 24
- 44
0
votes
1 answer
Apache 2+ basic authentication from db , not from files how to?
what plugins and what configuration do i need to configure Apache server to use user/password
from DB and not from files to preform basic authentication

user61104
- 519
- 1
- 8
- 16
0
votes
1 answer
IIS/AD - Implementing single sign-on between two websites
I have two websites. One is an "intranet," one is a public site that has "admin" areas:
www.example-intranet.com
www.example.com
They are both running on the same IIS 6 box.
www.example-intranet.com is password protected. That is, in IIS I've…

anon
- 404
- 1
- 5
- 15
0
votes
1 answer
PAM authentication failure with HTTP Basic auth and mod_auth_pam on Apache
I'm trying to set up HTTP Basic auth with PAM on Apache (running on Ubuntu 10.04).
I have a VirtualHost setup with SSL and the options below for HTTP Basic authentication:
AuthBasicAuthoritative off
AuthPAM_Enabled On
AuthType Basic
AuthName…

Andrei
- 463
- 2
- 5
- 12
0
votes
1 answer
IIS 7.5 Basic authorization issue
When I log on using correct user name\password (I always copy-paste them) I get 401.1 error. User name and password are correct (user is created on server locally, not a domain one). I can run program as this user (runas /noprofile /user:tmp…

Alsin
- 101
- 4
0
votes
2 answers
Apache2 mix of two location restrictions: basic auth and ip-based
I want to restrict a staging server with basic auth, except for one special location, which should not have basic auth but be restricted to a client IP block.
My virtual host section looks like this:
DocumentRoot…

Jan
- 145
- 1
- 4
0
votes
1 answer
mod_auth wrong password authentication?
i have a server running apache2 in a debian lenny.
something strange happen with the folders protected by .htaccess.
basically, if you put a wrong password but formed by the_correct_password + _more_chars it let you enter. if you put the incorrect…

shadow_of__soul
- 376
- 1
- 6
- 16
0
votes
1 answer
Apache, Tomcat 5 and problem with HTTP basic auth
I have setup a Tomcat with a webapp that uses http basic auth in some of its URLs. There is a Apache server in front of the Tomcat.
I have setup Apache as a proxy like this (all traffic should go directly to…

Juha Syrjälä
- 1,081
- 10
- 19
0
votes
2 answers
IIS7: Allow users to identify themselves with either "Windows Authentication" or "Basic Authentication" on the same file
Is it possible to have both windows authentication and basic authentication enabled on one .asmx page in IIS7?
What I want is:
Someone calls webservice
If possible, use windows authentication (e.g. when calling from another Microsoft based…

BlaM
- 3,886
- 5
- 27
- 28
0
votes
1 answer
Allow website access from specific subnet, otherwise ask for credentials
How can I configure IIS 6 to allow access to a sub folder
from our intranet without any authentication (well, the IP address needs to be checked but that's already working)
from the internet only after authentication via Basic Auth?
Basically I'm…

joschi
- 21,387
- 3
- 47
- 50
0
votes
1 answer
Protect all XML-RPC calls with HTTP basic auth but one
I set up a Django project for smartphone serving XML-RPC methods over HTTPS and using basic auth. All XML-RPC methods require username and password.
I would like to implement a XML-RPC method to provide registration to the system.
Obviously, this…
bodom_lx
0
votes
2 answers
Does using Apache Basic Auth affect yum installations?
I don't have further information yet, but I am going to be troubleshooting this in the morning and I wanted to get a head-start. Is there any reason that a yum install (that worked fine yesterday) would fail after I set up basic authentication in…

MJB
- 113
- 3
0
votes
2 answers
How to change the basic auth default header in nginx?
I set basic auth in my nginx
location / {
auth_basic "Restricted Area";
auth_basic_user_file /etc/nginx/.htpasswd;
}
So after i saved and restart nginx. The browser uses the Authorization header to pass the basic auth
But…