开发者

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 ty开发者_JS百科pes. Any site suggestions? Preferably the sites should provide free accounts.

Thanks!

Chris


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.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜