Questions tagged [http-basic-authentication]

256 questions
0
votes
1 answer

activate htaccess only on specific URI

I have an apache webserver running on an ubuntu system. To avoid access for unauthorized users, I have an active .htaccess: AuthType Basic AuthName "own area" AuthUserFile /path/to/.htpasswd require user username This .htacces works fine by…
0
votes
0 answers

Why do AuthType Basic directives not work in .htaccess

I have a web server running on ClearOs 6. I would like to protect a couple of directories using .htaccess, but I do not seem to be prompted for a password at all. Relevant bits of conf file are: LoadModule auth_basic_module…
0
votes
2 answers

Apache2 authentication NTLM without prompted semi Basic auth type

I succesfully configured ntlm authentication. Unfortunately config allows semi basic authorization. For example when I'm using tortoise svn1.8.4(with serf access lib), chrome or IE web browsers, they authenticate NTLM succesfully without prompting…
0
votes
1 answer

Multiple Apache Auth User Files

I have multiple vhosts on a host running apache. It is a test system and I would like to give users "basic authentication" access to their sites. For this I have a vhost file with basic auth configuration: ServerName…
raoulsson
  • 4,763
  • 10
  • 34
  • 29
0
votes
1 answer

How to protect a virtualhost by Both IP OR password

I have managed to password protect a virtualhost by using this: Order deny,allow Deny from all Allow from office-ip-1 office-ip-2 It works fine as far as it's accessed from our office…
0
votes
1 answer

Bypass IIS Basic Authentication for localhost

I'd like to have a website authenticated with basic auth, but then also allow the website to access itself locally. That is, I want to allow unauthenticated access only from localhost. In IIS I have only basic authentication enabled (not worrying…
George
  • 103
  • 4
0
votes
1 answer

Issue with Nginx, http authentication and dynamic IP address

I am trying to get Nginx as a reverse proxy to authenticate users performing inbound http requests. My ISP provides me with a dynamic IP. I am not sure how to configure my ADSL router (NAT rules). I also want Nginx to listen to port 80 and redirect…
0
votes
1 answer

Restricting access from the internet to a website in beta conflicting with the website's own authentication

I have a java website that runs on Apache Tomcat. As the website is in Beta, I don't want it to be publicly accessible to anyone on the internet and I want a restricted group of beta testers to access the website thereby restricting access to all…
0
votes
2 answers

Nginx reverse proxy - passthrough basic authenication

I am trying to setup nginx as a reverse rpoxy server in front off several IIS web servers who are authenticating using Basic authentication. (note - this is not the same as nginx providing the auth using a password file - it should just be…
Ryan
  • 428
  • 1
  • 8
  • 17
0
votes
1 answer

Add a user to our Basic Authentication groups on many servers

I need to add a new user (and add them to an existing group) for basic authentication on many different servers. What's the fastest way to do this? The slow, dull way would be to ssh in to a server, run the htpasswd command, manually edit the…
Lothar_Grimpsenbacher
  • 1,677
  • 3
  • 19
  • 29
0
votes
1 answer

Open HTTP Basic auth only on a specific domain/request

Are we, Apache Commandos, able to do this: Open the HTTP Basic Authentication dialog box in a browser only if I request some URL from a specific domain name/server name/host name? For instance: If I'd be…
user122976
0
votes
1 answer

Linux: Centos: enabling basic authentication

I am trying to set up basic authentication for a linux (centos) server. I did the following: mkdir /usr/local/apache mkdir /usr/local/apache/passwd echo > /usr/local/apache/passwd/passwords htpasswd -c /usr/local/apache/passwd/passwords…
EastsideDev
  • 333
  • 3
  • 13
0
votes
1 answer

IIS Application Request Routing (ARR) reverse proxy rewrite to Apache with authentication

I'd need to rewrite an IIS site (using the ARR proxy method to keep the original URL) to another one which is hosted on an Apache 2 server. The Apache server requests a basic authentication. The problem is when I try to log in to the Apache auth…
0
votes
1 answer

Apache BasicAuth depending on request origin

I'm wondering if the following is possible somehow: Make Apache ask for basic authentication when a resource is requested from the Internet and just bypass the authentication when a request originates from the local network. I found some info about…
soriak
  • 13
  • 5
0
votes
1 answer

HTTP Status Codes for Web Application Logic

This might be more of a PHP and SO question, but since it deals with HTTP codes, I thought I'd ask here first. So I'm building a very simple user authentication backend that basically checks the (fairly secured) session tokens to confirm if the…