http-authentication Questions

11

Solved

It looks like implementing basic HTTP authentication with Express v3 was trivial: app.use(express.basicAuth('username', 'password')); Version 4 (I'm using 4.2) removed the basicAuth middleware, ...
Skean asked 12/5, 2014 at 18:37

6

Solved

I'm trying to use Basic HTTP Authentication and followed the example on the PHP manual page. But it doesn't work for me. The variable $_SERVER['PHP_AUTH_USER'] doesn't seem to be set. When a user t...

2

Solved

First, let's get the security considerations out of the way. I'm using simple authentication under Apache for a one-off, internal use only, non-internet connected LAN, PHP web app. How can get I t...
Fannyfanon asked 4/8, 2008 at 17:2

5

Solved

I need to provide http-basic-auth to one view. I want to avoid modifying the middleware settings. Background: This is a view which gets filled in by a remote application.

14

Solved

How do I pass authorization header using cURL? ( executable in /usr/bin/curl).
Inextricable asked 15/6, 2010 at 10:28

2

Solved

function ParseUrl($URL) { $crl = curl_init(); curl_setopt ($crl, CURLOPT_URL, $URL); curl_setopt ($crl, CURLOPT_PORT, 8086); curl_setopt ($crl, CURLOPT_USERPWD, "admin:pass"); curl_setopt ($cr...
Tamishatamma asked 12/6, 2011 at 21:33

2

Solved

I can set an http proxy using request.meta['proxy'], but how do I authenticate the proxy? This does not work to specify user and pass: request.meta['proxy'] = 'http://user:[email protected]:...
Jetsam asked 20/11, 2011 at 17:1

3

With cURL, I can do --location-trusted to allow sending the name+password to all hosts the site may redirect to (http://curl.haxx.se/docs/manpage.html#--location-trusted). Can I do something simil...
Chiropractic asked 18/12, 2015 at 16:3

7

Solved

Here's my http basic authentication in the application controller file (application_controller.rb) before_filter :authenticate protected def authenticate authenticate_or_request_with_http_basic ...
Vani asked 22/9, 2010 at 11:25

8

For some reason, none of the code within if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) { // When the above is set, the code that is here will execute of course ...
Cordierite asked 7/9, 2010 at 23:37

12

Solved

My web application has a login page that submits authentication credentials via an AJAX call. If the user enters the correct username and password, everything is fine, but if not, the following hap...
Determinism asked 17/9, 2008 at 18:22

4

I got a solution for Firefox and IE but I didn't find any solution for Google Chrome. Is there a way to do it in Google Chrome?
Endothermic asked 7/10, 2011 at 0:53

4

Solved

I have 2 pages: xyz.example/a and xyz.example/b. I can only access xyz.example/b if and only if I login to xyz.example/a first. If accessing xyz.example/b without going through the other, I simply ...
Catbird asked 13/9, 2012 at 3:38

4

Solved

I'm doing some simple HTTP authentication and am getting a java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic OGU0ZTc5ODBk(...trimmed from 76 chars...) (...mo...
Hymnist asked 13/1, 2010 at 5:40

7

Solved

We have a website running on Apache, access to which has a number of static pages protected via HTTP Basic authentication. I've written a new part of the site with Django using Django's built in s...
Suffer asked 30/9, 2008 at 8:34

1

Solved

I have a cloud function with trigger type set to HTTP and also have a service account which is having permissions to Invoke the cloud function. I want to invoke the cloud function from a python scr...

3

401 seems to be used to indicate an authentication failure whereas 403 for an authorization failure (which means authentication succeeded?) In case of an oauth flow if I try to authenticate with an...
Appellate asked 17/7, 2017 at 21:14

6

Solved

For some of my Django views I've created a decorator that performs Basic HTTP access authentication. However, while writing test cases in Django, it took me a while to work out how to authenticate ...

4

Solved

I'm writing some browser side dynamic functionality and using HTTP Basic Auth to protect some resources. The user experience is very important and is highly customized. Here's a simple test JQuery...
Estovers asked 30/5, 2009 at 2:56

5

Solved

When I try access a route with the @auth.login_required decorator, I am prompted with a window to enter my username and password. After entering this info, the parameters username_or_token and pass...
Derek asked 13/3, 2015 at 3:28

0

In short, when using an authorization header with the fetch api and a redirect is followed Chrome, FireFox, and Opera (on a Mac) include the authorization header in the second request. However, Saf...
Fugacious asked 26/11, 2018 at 20:10

3

Solved

I'm trying to do Digest mostly (or Basic) Authentication using RestTemplate and httpclient (4.x). Since I couldn't find any relevant examples of how to actually do this, I have attempted various ...

2

Solved

Is there a way to use Basic authentication rather than AWS4-HMAC-SHA256 authentication with the AWS API Gateway Service? I need to support a system that only supports webhook calls with Basic Authe...
Chatoyant asked 21/12, 2017 at 3:5

2

Solved

I want to access a remote elasticsearch which is protected by a username and password. https://[username]:[password]@aws-eu-west-1-portal1.dblayer.com:11109/ In Spring using the XML config I was a...

9

Solved

I am trying to protect the ~/public_html/dev directory using http auth basic, but to make that secure I want to run it over ssl. The middle section of the below .htaccess file switches to https if...

© 2022 - 2024 — McMap. All rights reserved.