Authentication Test Servers

后端 未结 3 1311
情书的邮戳
情书的邮戳 2020-12-13 06:29

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 appli

相关标签:
3条回答
  • 2020-12-13 06:54

    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
    
    0 讨论(0)
  • 2020-12-13 06:59

    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.

    0 讨论(0)
  • 2020-12-13 07:02

    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 讨论(0)
提交回复
热议问题