Questions tagged [http-authentication]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
19 views

How to make it so you only have to authenticate once for a group of subdomains using a Apache virtual host?

I have a Ubuntu 20.04 LTS Server with a set of virtual host configurations that protect a group of subdomains using basic auth, for example lets say secure.example.com is password protected as well as ...
0
votes
0answers
40 views

nginx as load balancer best approach (https, HTTP auth, …)

I am planning for a new structure for my apps with many registered members. I am considering to use nginx as a loadbalancer to distribute load between multiple backend servers for now I am considering ...
0
votes
0answers
70 views

nginx auth_basic stopped working

I had defined basic auth for nginx like this: auth_basic "Login to access"; auth_basic_user_file /etc/nginx/httppwd; It used to work fine until today when it stopped working without any ...
1
vote
0answers
474 views

How can I disable HTTP Basic Auth on my Apache instance for a specific REQUEST_URI

I have a linux instance hosting a WordPress site and it has Basic HTTP Auth enabled for the entire site. I now want to disable the Basic HTTP Auth for a specific path we can call /auth-free-url-2019. ...
0
votes
1answer
48 views

Website authentication method? [closed]

Once, many years ago, I secured my website. I'm struggling to remember exactly what I did. I believe I generated a certificate (or a token???) that I delivered to a select few people I wanted to grant ...
2
votes
1answer
3k views

HTTP 'auth_basic' Error on NGINX

My code to secure the wp-login page is throwing an error: nginx: [emerg] invalid number of arguments in "auth_basic" directive in /etc/nginx/conf.d/wordpress.conf:41 I am not sure what is ...
1
vote
1answer
534 views

Require a HTTP-authentication only for connections from outside my LAN in HAProxy

I have HAProxy configured to require a HTTP-authentication for a single frontend. It looks like this userlist Users group G1 user XXX password YYY frontend public bind :::80 v4v6 ...
0
votes
1answer
91 views

Unable to enroll Device into Azure AD using 3rd Party On-Premise MDM

We are in the process of Integrating a third party MDM (on-premise) with Autopilot in AAD portal to enable Windows 10 OOBE. We want to achieve this by leveraging an on-premise Core Enterprise ...
0
votes
1answer
728 views

Require basic auth for specific IPs in nginx

I have a whitelist of IPs for nginx, but in addition to this I want to require basic authentication for specific IP. For example, allow access for these IPs: 198.51.100.1 198.51.100.2 require basic ...
1
vote
0answers
1k views

IIS responds with “401 Unauthorized” without waiting for request's body

I noticed that our IIS 8.5 returns "401 Unauthorized" response to non-authenticated HTTP request right after receiving its headers, without waiting for the body: the client: POST /some/protected/...
0
votes
2answers
966 views

Is it possible to truncate $remote_user in an nginx access log?

We have an nginx server that, in some contexts, receives sensitive data in the HTTP username field. More specifically, it's an API key that clients are sending like curl -u "$API_KEY:" .... The ...
1
vote
1answer
628 views

Rewrite then Basic Auth with Apache for Cloudfront

I have a website where all pages go through AWS Cloudfront (right now with a TTL of 0). The site domain is www.example.com, which is a CNAME to the cloudfront distribution. Cloudfront then requests ...
0
votes
0answers
919 views

Apache mod_auth_form to subdirectory

First, my structure. Running Ubuntu 16.04.3 with Apache 2.4, I have a site at /mnt/WWW but never serves pages from there except for a login form. Everything is redirected to www. if not another ...
0
votes
0answers
39 views

Automatic logins in chrome

I have an outdated internal website (which I cannot alter), which uses one of those old login mechanisms which pops up a modal authentication box when you try to access it. (The popup is not HTML, but ...
0
votes
1answer
664 views

Cannot login into gerrit

I have a gerrit setup on my server with http as a authentication method and nginx as server. I've created a admin account which works perfectly fine. I was trying to set up a another account with ...
3
votes
0answers
568 views

PKI Authentication in HTTPD using Active Directory (LDAP)

In my environment, an external entity provides a Root CA & Intermediate CA(s). They issue thousands of smartcards with PKI certificates for authentication. They provide the Client Authentication ...
2
votes
2answers
1k views

HTTP Authentication being ignored, both in .htaccess AND in httpd.conf

I have recently discovered that some of the development websites on my local computer (Windows 10/Apache 2.4) are visible from the web when they should not be. the problem is similar to this question, ...
2
votes
2answers
641 views

Nginx, auth and forcing HTTPS - as an include snippet?

Got a bit stuck here. I'd like a nice simple Nginx "include"able snippet that requires HTTP AUTH for the location it is include-ed in, AND forces a redirect to HTTPS if not already. I came up with ...
0
votes
2answers
1k views

Nginx forcing auth for IP in allowed subnet

I'm implementing authentication for the sites hosted inside the office, I have a PAM auth module that authenticates the users, that's working good so far. The problem is that I need to authenticate ...
1
vote
1answer
2k views

Securing Kafka REST API endpoints

We plan to use Kafka for publishing updates to our customers. The plan is to use the dedicated topic for each client. To makes things simpler for them we want to utilize REST API. So that user1 will ...
3
votes
0answers
1k views

How to set up authentication server before request reach API server using HAProxy?

I want a set up that would force all requests to be authenticated before reaching the application server. I'm seeing HAProxy support basic HTTP Authentication but I couldn't find any info about making ...
6
votes
2answers
2k views

ngx_http_auth_request_module equivance for HAProxy

Does an equivalent module to nginx's ngx_http_auth_request_module exist for HAProxy or Apache? This module allows support for custom authentication through HTTP. I quote: The ...
-2
votes
1answer
717 views

How to Specify which URLs have HTTP Authentication with NGINX

In my nginx configuration file I have successfully created HTTP Authentication for the whole website while it's under development. root /var/www/staging/; auth_basic "Restricted website - authorised ...
5
votes
3answers
4k views

Single sign on with Apache and LDAP

I have a server running two web applications: Gerrit and Mantis BT. Now, these applications connect to an LDAP server to authenticate users and it works fine. But the user has to authenticate for each ...
1
vote
1answer
2k views

Apache how to make a directory only accessible from local and also use autheticate with valid-user

I try to do this with require local and require valid-user but look like the require local override the valid-user. make the local acess don't need to authenticate AuthName "Authenticate" AuthType ...
1
vote
1answer
1k views

how to make squid revere proxy with authentication send remote_user header

OS CentOS 6.4 - squid 3.1 I currently have squid running as a reverse proxy, performing NTML authentication succesfully. This is working as expected. If I enter valid AD username and password, it ...
2
votes
1answer
15k views

How to disable nginx basic_auth for one location but enable it for the rest of the site

I'm trying to get basic_auth disabled for a specific directory (/api/), but still have basic auth for the rest of the site I'm working with. The following is my nginx.conf: server { # base ...
1
vote
1answer
1k views

Add custom headers to HTTP 401 responses from Kerberos mod_auth_kerb

I'm using Apache with mod_auth_kerb to perform HTTP authentication. How do I add custom headers to the 401 Authorization Required response generated by the auth module? The relevant sections of my ...
1
vote
1answer
675 views

Nginx ignores HTTP Authentication for WordPress login directory

I am running WordPress in a subfolder of my domain for testing and development purposes on a VPS LEMP-stack. In order to password-protect the wp-login.php with an etxra layer, I used HTTP ...
0
votes
1answer
546 views

Apache mod_proxy with SSL not redirecting

I have a custom server running behind an apache reverse proxy. Since the custom server can only handle HTTP traffic, i am trying to use apache for wrapping proper SSL around it, and for some kind of ...
0
votes
1answer
162 views

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 ...
1
vote
1answer
6k views

nginx http auth only working on folders, not on files

I am new to nginx and I really enjoy how fast it is in combination with php-fpm. I want to protect a folder with location / { try_files $uri $uri/ $uri.php /; auth_basic "...
2
votes
0answers
545 views

How do I enable digest auth for Jetty fronting Elastic Search

We've gotten Jetty running the HTTP front end of Elastic Search with BASIC authentication. We would like to use DIGEST authentication instead, but the Jetty documentation is hard to reconcile with the ...
2
votes
0answers
335 views

Apache SSHA password support

Is there any way for Apache to support SSHA passwords? I have a couple of dozens of user passwords in an OpenLDAP server which are encrypted with SSHA (i.e. salted SHA1). No more users are to be ...
2
votes
1answer
13k views

Nginx auth only for given location

I'm using Nginx as a reverse proxy for a python WSGI web-app. It looks something like that: location / { #auth_basic "Administrator Login"; #auth_basic_user_file /var/www/static/....
0
votes
1answer
2k views

Cannot setting up path based authentication in subversion

I've followed the subversion book countless times to try and set proper path authorization on our subversion server, but I haven't been able to make this work. Here is my access rules file : [...
1
vote
1answer
1k views

nginx, apache http authentication

I have an nginx reverse proxy server which feeds into a varnish cache with an apache backend. The php is running as a fastcgi process started from apache. I was attempting to get some php software ...
2
votes
1answer
116 views

static big files and a way to serve them securely (central authentication CDN)

I need to serve few static big files(about 4GB each) to several users, using 5 servers that are in different geographical regions. The idea is that nobody else gets the content as there's ...
-1
votes
1answer
98 views

Intercept server port to request a password [closed]

There's a Java application running on my server that creates a page on a certain port on the server. Is there any way I can sit in the middle of that page being served by Java and the user to first ...
3
votes
1answer
133 views

How do you http-auth all sites on a server?

I'm setting up a development server and need to apply these basic rules to all virtual hosts on the server in the /var/www/html directory. AuthType Basic AuthName "Development Area" AuthUserFile /var/...
0
votes
1answer
50 views

Allow Site and Server acces from single computer?

I have a local site that I use to run a web application for my business. Only one or two computers need to be able to access the site. I want to allow access to only those computers (not by IP) with ...
2
votes
1answer
2k views

Does IIS support HTTP basic auth and form auth at the same time?

preface: I am a web dev who knows apache servers quite well, but I have little to no knowledge of IIS or .NET I work with a developer who has been avoiding a request to add a Basic Auth to a staging ...
1
vote
1answer
297 views

Apache Authentication Still Accepts the old password in the htpasswd

I run Apache on Ubuntu and use basic HTTP authentication. I have a htpasswd file and there is a user named scott with the password of tiger. However I changed the password to tiger1. Now I can login ...
2
votes
1answer
2k views

IIS 401.3 - Unauthorized on only 1 server out of 3 set up for network load balancing

Over the weekend our Server Admin set up two virtual Windows 2008 machines with IIS installed and set them up under NLB. I came in and changed the application pool the website was running under to ...
2
votes
2answers
6k views

How does one configure squid3 proxy to support http auth - quick and dirty

I am interested in the the easiest solution, authentication doesn't actually have to even test user/pass pairs... it just has to do the http auth challenge. I am trying to test http auth on a proxy ...
1
vote
0answers
225 views

How to set up custom 401 error page or redirect in WSS3 SP2

I've got a WSS3 sharepoint site that requires windows authentication both in IIS and via the Sharepoint site. What I would like to do is in the case that a user does not provide valid AD credentials ...
22
votes
2answers
48k views

Troubleshooting Windows Authentication problems (no challenge) in IIS 7.5?

I know that there are thousands of reports of people having trouble getting Integrated Windows Authentication to work with IIS, but they all seem to lead to web pages that don't apply or solutions ...
2
votes
1answer
1k views

Many HTTP 401's with Kerberos authentication via mod_auth_kerb

I've got an Apache2 httpd running in front of a Tomcat, doing authentication via mod_auth_kerb. When I open the console in Firebug, I see lots of 401's See screenshot: Is there a way to avoid this? ...
0
votes
4answers
6k views

Sharing www folder breaks IIS sites

I would like to share my www folder on my local machine with others in my office but when I do this and try navigate back to my localhost sites, I get the error HTTP Error 401.3 - Unauthorized. Now I ...
1
vote
2answers
513 views

Subversion subdomain Digest authentication shows blank page as response

I'm trying to configure my subversion server using apache2, mod_dav_svn and a basically digest authenticaton (for now). I've setup the subdomain svn.example.com to serve the repos and created the ...