The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
15 views

Disable basic authentication from local network

Running apache 2.4.18 on Ubuntu 16.04, I just don't know how to get this working anymore. I want to enable basic http authentication for all requests, except for requests from the local network. So ...
2
votes
1answer
25 views

Basic Auth User Management

I have 2 questions regarding Apache Basic Auth that i currently am utilising. I have a website that after a certain action, the website will produce a Basic Auth username and password for the user to ...
0
votes
1answer
1k views

nginx reverse proxy with basic_auth - 404 Not found

I have an nginx server block to proxy_pass content from three servers: gitlab, Rshiny and static content from another nginx server block. All this works fine, until I try to add password protection to ...
1
vote
1answer
1k views

Apache2 with basic auth: exclude one location from auth (weird behaviour)

I have basic auth set for Directory / and want to exclude Location /assets/upload, but it just won't work, I have tried several options and tutorials. This Location directive clears the Directory ...
0
votes
0answers
29 views

Apache auth basic keeps prompting for credentials

I have an Apache 2.4 serving several Tomcats and a PHP Laravel application on the same machine. I want to restrict access to all applications with a basic authentication. The access to the tomcats ...
1
vote
0answers
12 views

Apache HTTPD basic auth creates multiple login dialogs

So i have an Apache HTTPD server (v2.4.6) with mod_ssl. I setup basic auth in /etc/httpd/conf.d/ssl.conf with the code at the end: <LocationMatch "xxxx"> AuthType Basic AuthName "Restricted" ...
0
votes
2answers
29 views

Basic Auth in multiple directories on same virtualhost

Is it possible to nest basic auth? So that the parent folder and all subfolders can be accessed using one basic auth directive but subfolders have seperate auth VHost config: <VirtualHost ...
0
votes
0answers
24 views

IIS7 Digest authentication credentials forgotten between pages

I'm able to authenticate using AD credentials and the requested page loads fine, but IIS is re-requesting authentication for every page change or page refresh. If this is normal behavior for this ...
0
votes
1answer
55 views

HAProxy basic auth except from specific IP

I have set up basic authentication for my backend, like this: backend webservers acl is_auth_ok http_auth(SiteUsers) http-request auth realm MySite if !is_auth_ok This works but now I want ...
2
votes
2answers
116 views

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// <server-ip>:8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the ...
0
votes
0answers
26 views

Tomcat webapp protected by Apache basic auth wont accept valid username password

I have Apache 2.4 set up as a reverse proxy in front of my Tomcat 7 app. There is also another static HTML portion called moderation. The tomcat app is set up to provide a form based login. I want ...
0
votes
2answers
69 views

How to do basic auth with HAProxy while doing other ACL?

I am running HAProxy in front of apache servers and I want to implement basic authentication for some domains. The manual states that this should do the trick: userlist admins user myusername ...
1
vote
2answers
880 views

Nginx - Apply basic auth only if an htaccess file exists

How can I apply basic auth only if an htaccess file exists? If first tried to put the auth_basic directives in an if block, but that is not allowed. Then, I tried redirecting to a named location, ...
0
votes
0answers
8 views

Trailing numbers in Apache Basic Auth [duplicate]

I don't know if I'm doing something wrong, or if this is a legit bug... I'm using Centos 6 with httpd, and any trailing numbers are ignored in the password. Example: Using htpasswd I set my password ...
0
votes
2answers
425 views

basic authentication with nginx - page loads before auth popup

I have nginx and I have a directory that uses basic authentication. However, the page loads fully before the authentication popup comes. Even if I press cancel I'm not redirect to 401 authorization ...
0
votes
0answers
36 views

htaccess permissions randomly being used in parent directory

I have an Ubuntu 14.04 server, which I have had set up for a fews years with little adjustments. On the server I have a directory Movies which has a .htaccess file in it that requires authentication ...
1
vote
0answers
108 views

iis 8 basic authentication 404 error

I deployed a .Net application on Windows Server 2012. The application works fine when no authentication is enabled(with anonymous authentication). When I enable Basic authentication, the site ...
1
vote
1answer
82 views

Protecting a location by IP while applying basic auth everywhere else

I want to achieve the following results: Apply basic authentication to ANY location, file, path Remove basic authentication for an IP/CIDR range whitelist Prevent ALL access to a specific directory, ...
2
votes
1answer
492 views

Apache SSL Certificate and Basic Auth combination - password if no certificate

Is it possible, to force apache to ask for password only if user don't have client-certificate installed? I'm almost sure, that this is possible, but I'm not able to find any confirmation anywhere. ...
0
votes
1answer
41 views

Exchange 2007 RPC over HTTPS, basic auth, password prompt bypassed by clicking 'need password'.. desired behavior?

I can't handle the incessant password prompting anymore.. Our Outlook installations prompt for a password after the comps wake from sleep and/or when changing between wired/wireless. Outlook DOES ...
3
votes
0answers
97 views

Apache 2.4 Redundant LDAP Authentication

I'm trying to provide a redundant LDAP authentication to my webserver. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <AuthnProviderAlias ldap ldap-one> AuthLDAPBindDN "search@domain" ...
0
votes
0answers
31 views

IIS 7.5 How to configure custom 401 Authentication Error Page with Basic Authentication

I have a website running under IIS 7.5. I am using Basic Authentication. I want to set it up so that if authentication fails it redirects them to a www url. How can I achieve this?
0
votes
1answer
288 views

Apache Proxy & Basic Auth

Im trying to set up an Apache Proxy which also does LDAP Basic Auth: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost ...
0
votes
1answer
19 views

Show user which Group is required for Apache Basic Auth page

Is it possible to show which 'group' is required for access to a web page protected with Apache Basic Auth? Ideally, the pop-up requesting username and password would pass the 'group' required as a ...
0
votes
0answers
35 views

IIS Intranet Users Login

I have a web application deployed in IIS 7. I want to configure it so that others from all intranet Domains can login to the web application. Here are the things I've done: Enabled IIS Windows ...
1
vote
0answers
132 views

IIS 8.5 Credentials working for windows authentication but not for basic

I have an IIS 8.5 on a windows server 2012 machine. When I enable the windows authentication (basic authentication is disabled), I can access and see the home page of IIS (http://localhost) with the ...
0
votes
2answers
37 views

How to set BasicAuth everywhere EXCEPT certain directories

When it comes to setting BasicAuth protection for specific directory, I use simple setup (in apache2.conf file): <Directory /var/www/somedir/> Deny from all AuthUserFile ...
1
vote
1answer
405 views

Apache Basic Auth not working in customer network

I'm having trouble, letting a customer see a site that is locked with a simple Apache Basic Auth password file. It works in every browser on Mac, Windows and in our network. Even the customer get's ...
1
vote
1answer
241 views

Exclusion of a protected sub-url does not work on Apache 2.4?

I try to exclude a sub-url "/shop/api" from my protected website. It worked fine on different server on Apache/2.2.15 but now not with Apache/2.4.7? It always asks for the basic authentication. Any ...
0
votes
0answers
130 views

How to create cores on Solr Cloud with basic authentification?

I am running Solr Cloud 5.3.x which is secured by basic authentification. After successfully uploading the config files to zookeeper, I wanted to create the cores. Unfortunatelly this failes. solr ...
58
votes
4answers
252k views

Can you pass user/pass for HTTP Basic Authentication in URL parameters?

I believe this is not possible, but someone I know insisted that it works. I don't even know what parameters to try, and I haven't found this documented anywhere. I tried ...
0
votes
1answer
70 views

Truncate Basic authentication username and password in Apache proxy

We need to proxy a request to a server. The sender has an autogenerated username and password, and will use basic authentication. We can't change these how these are generated by the sender. The ...
2
votes
1answer
2k views

Yum repo basic auth not working

So we've got this yum repo that is protected via basic auth. My yum.repo definition looks like this [custom-repo] name=Releases Repository ...
1
vote
1answer
196 views

How to get the remote user from httpd basic authentication in my tomcat servlet?

I've successfully configured mod_proxy_ajp from my httpd to Tomcat, with httpd performing the SSL and basic authentication. I need the remote user in my tomcat application, so I thought using AJP ...
0
votes
1answer
128 views

Protect /analytics on Nginx with basic authentication, but allow access to .php and .js files?

Hope this is the right place to ask. I have Piwik setup and running on a Nginx webserver that I protected with HTTP basic authentication, as seen below. location /analytics { alias ...
0
votes
0answers
135 views

Secure Port with Nginx Web Server Authentication auth_basic

I am trying to secure the login URL of my website (Ajenti control panel) with auth_basic authentication. I access the site like this: https://myajentiinstallation.com:8787 In the file ...
1
vote
1answer
134 views

HTTP Basic Auth unless connecting from the office with Apache 2.4?

We wish to set up a website for demo purpose only that we can: Access from anywhere from the internet by entering a username and password via HTTP Basic Auth. For ease of use we wish to not having ...
5
votes
1answer
2k views

How can I enable http auth in lighttpd for all directories except one?

I am trying to authenticate access to everything in webroot (/) except anything that resides in a particular directory (/directory/) and I've tried both of these options to no avail: $HTTP["url"] =~ ...
0
votes
1answer
184 views

How to set auth_basic for one file in NGINX? [duplicate]

Here is my config: server { #... location ^~ /wp-login.php { auth_basic "Restricted"; auth_basic_user_file /var/www/.htpasswd; } ...
1
vote
1answer
274 views

Nginx: Selective On/Off of Auth Basic Based on Realm

I run SugarCRM on a LEMP stack and have it closed down with auth_basic. That works fine, headers show: WWW-Authenticate: Basic realm="Username and Password are required" Some files within SugarCRM ...
0
votes
1answer
782 views

.htaccess file is not working on Apache 2.4.12 and Windows Server 2008 R2

I am trying to add Authentication window to a section of the site using .htaccess file. But It is not working "the site is acting that the ".htaccess" files does not exists. here is that content of ...
0
votes
0answers
163 views

Basic ncsa authentication is not workling in squid

I'm using squid-3.3.8-12.el7_0.x86_64 on CentOS 7 I've configured squid for basic authentication, md5 password works, but if fails when I try to use either blowfish or sha password. Below is the ...
0
votes
1answer
28 views

Does the Apache Httpd basic auth functionality have a constant time password comparison?

When I use Apache Httpd's basic auth functionality, sometimes I notice that wrong passwords seem to take longer than right passwords to check. Does Apache Httpd have an option for constant time ...
1
vote
2answers
2k views

Apache removes Authorization header

Apache is acting as a reverse proxy in my setup. The application server running on port 8081 requires a valid Authorization header. The header is set by the client application. Apache seems to remove ...
0
votes
1answer
984 views

How can I add basic auth to an apache proxy while using CORS headers?

Background I use grafana for displaying graphs of our server-metrics. Grafana is a JS-app which in our case is getting the data from graphite and storing search-queries in elasticsearch. All three ...
0
votes
1answer
521 views

Nginx how to use limit_req_zone on auth_basic to protect against brute force attack?

I have an Nginx server that works as an SSL proxy for a service running on a localhost that doesn't support SSL authentication. I would like to use Nginx's limit_req_zone function to protect the ...
0
votes
0answers
354 views

setup SSL with CA for multiple local sites in Apache and authenticate in a specific location (Error code: ssl_error_handshake_failure_alert) Ubuntu

i'm trying to implement SSL (HTTPs) on my local web-server to protect specified directories on Apache's websites where a user log's-in, combining SSL and HTTP Authentication Basic. I have follow ...
2
votes
1answer
408 views

nginx authentication and custom error page

I'm trying to set up my server so that it requires authentication before browsing any file on the domain. However, I want to display a custom error page (placeholder.html) when someone fails to ...
1
vote
1answer
253 views

Apache as authentication proxy

We are trying to implement authentication proxy from Apache httpd. This should secure application that uses Basic Authentication but user should authenticate with httpd's authentication (mod_auth_cas ...
1
vote
1answer
2k views

How do I use my own web form with the ngx_http_auth_basic_module?

I want to capture the username and password with my own form and then use those values with the Nginx ngx_http_auth_basic_module,rather than having the default Nginx box that comes up, asking for ...