Questions tagged [http-authentication]

HTTP authentication is a method for a HTTP user agent to provide a user name and a certain proof confirming the user's identity when making a request. Various proofs define different HTTP Authentication methods, e.g. basic, forms, digest, or others.

622 questions
0
votes
2 answers

Why do i get a 'Cannot resolve symbol 'execute''?

I imported the httpclient packages and wanted to use .addHeader and .execute, but i always get the error 'Cannot resolve symbol 'execute'' and 'Cannot resolve symbol 'addHeader'' even though i imported the necessary packages. public class…
Fynn
  • 210
  • 1
  • 6
  • 28
0
votes
1 answer

C# authorization in HTTP request Plivo API

I am trying to use Plivo to send text messages from within my WindowsStore Application. Here is what almost works: // These first 3 lines don't do what I want var unamepass = AuthID + ":" + AuthToken; var auth = new…
0
votes
1 answer

NSURLConnection sendSynchronousRequest that requires authentication in URL

From this question I've implemented uploading a file to a server: Upload File to Server I was reading the Apple Documentation to find out about how secure the NSURLConnection sendSynchronousRequest method is, and the documentation says that it will…
benpva16
  • 446
  • 6
  • 26
0
votes
2 answers

RoR: Store HTTP_AUTHORIZATION in session to access .htaccess protected folder

In my Ruby on Rails application, I am trying to protect part of the public folder using apache .htaccess feature to prevent access from files to non-authentified people. So I have place a .htpasswd file to protect this folder and set up apache…
X2theZ
  • 278
  • 4
  • 16
0
votes
1 answer

Magento Wordpress Integration auto login is not working

I have used the Fishpig Magento Wordpress auto login plugin (version:3.0.20) and wordpress 3.8. If already wordpress is logged in, autologin works. otherwise it redirected to the following link and asks the credentials to…
alamelu
  • 280
  • 1
  • 10
0
votes
1 answer

How to parse a XML behind a standard http authorization (Android)

I've got an XML file on a server. It is protected with an standard Http-Authorization. I want to parse the file. So what is the right way to get the file to the parser? The authentification string I already have (Base64). The XML looks like: …
0
votes
2 answers

What is the third argument to config.middleware.insert_before?

I have been using the following in config/environments/staging.rb to keep my staging environment private: # HTTP Basic Authentication if ENV['AUTH_BASIC_ON'] == 'true' config.middleware.insert_before(ActionDispatch::Static, 'Rack::Auth::Basic',…
user664833
  • 18,397
  • 19
  • 91
  • 140
0
votes
1 answer

htaccess 500 Internal Server Error

Alright so I'm having a problem using htaccess to password protect a page. Every time I navigate to the page they are redirected to a "Internal server error" page. I have very minimal knowledge of PHP and am having a hard time getting this fixed. I…
Isaac Sturkey
  • 88
  • 1
  • 6
0
votes
2 answers

Access website password protected with credentials in the http link

I have a website "A" that is password protected with credentials stored in the DB and another website "B" with a single set of credentials stored in the web.config. I would like to give access to site B to the users of site A after they login. I…
FeliceM
  • 4,163
  • 9
  • 48
  • 75
0
votes
0 answers

Login to router using CURL

I am trying to auto login and restart my router automatically using PHP with the help of CURL, but it always return "Protected Object" even the user and password are correct. The script was tested from local host and there is no…
SIFE
  • 5,567
  • 7
  • 32
  • 46
0
votes
1 answer

Authenticate Request Event Handler - Custom Authentication IIS

I'm working on a WCF Web Service, I need to use Basic Authentication over HTTPS and should validate against LDAP for Security and Authentication. public class BasicAuthenticationModule: IHttpModule { public void Init(HttpApplication context) { …
0
votes
1 answer

basic http authentication with cms pages in rails

I am using rails 4 and comfortable mexican sofa. I wish to secure some cms pages with password protection. They don't need to be very secure. The following code gives me an undefined method error: module CmsPagesAuth def authenticate …
0
votes
0 answers

HTTP Authorization Headers Being Removed

I have a simple ASP.Net website that accepts an HTTP Post and saves a file to a folder. The webpage itself looks for an "Authorization" HTTP header. I have created a simple C# app that uploads does an HTTP Post to upload a file: using (var client…
0
votes
2 answers

Authentication based on Certificates and IP

Is there a way for a java web app to get information on the security certificates installed on one's machine via a http request and selectively grant access if a particular certifiicate is installed on the machine. Basically the requirement is, the…
frappuccino
  • 171
  • 5
  • 15
0
votes
0 answers

Http Authentication: Global user login

I have several subdomains, some of them protected by HTTP authentication (htpasswd). Is there a way to login to all subdomains once the user login to one of them?
Vojtěch
  • 11,312
  • 31
  • 103
  • 173