Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication Test Servers

I'm searching for examples of public HTTPS sites that use one of the following authentication types - these sites will be used as test servers for an application currently under development.

BASIC authentication
DIGEST authentication
NTLM authentication

The test servers need to be using SSL as well as one of the above auth types. Any site suggestions? Preferably the sites should provide free accounts.

Thanks!
Chris

like image 490
Chrisc Avatar asked Jun 28 '11 15:06

Chrisc


3 Answers

httpbin.org has public endpoints for HTTP Basic and Digest Authentication (in each example, replace :user and :passwd with the test values you'd like to check against - :qop, too, for Digest):

  • /basic-auth/:user/:passwd Challenges HTTPBasic Auth.
  • /hidden-basic-auth/:user/:passwd 404'd BasicAuth.
  • /digest-auth/:qop/:user/:passwd Challenges HTTP Digest Auth.

Each endpoint is available in both HTTP and HTTPS.

like image 156
John Sheehan Avatar answered Oct 23 '22 01:10

John Sheehan


As an example for testing HTTP authentication:

http://www.httpwatch.com/httpgallery/authentication/authenticatedimage/default.aspx?0.7349707232788205 

In order to check a successful authorization you can enter httpwatch as the username. It doesn't matter what you enter for the password field, it just needs to be different every time.


I also put this link if the above one will not work in the future:

http://www.httpwatch.com/httpgallery/authentication/#showExample10
like image 45
Ayaz Alifov Avatar answered Oct 23 '22 02:10

Ayaz Alifov


To have a reliable test system, you should setup your own Apache web server. It can easily provide SSL encryption and basic/digest auth:

http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html

http://httpd.apache.org/docs/current/howto/auth.html

An NTLM module is available as well:

http://modntlm.sourceforge.net/

http://blog.doylenet.net/?p=6

Otherwise you could run into legal troubles for violating the terms of use for public web sites.

like image 3
Wintermute Avatar answered Oct 23 '22 02:10

Wintermute