Thread: Web server authentication using C client program by sending user name and password

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    Smile Web server authentication using C client program by sending user name and password

    Hi,

    Can any one give me pointers:

    I need to write a Client program in C that can authenticate a Web server by sending User name and password.

    On successful authentication download the data web server is sending.

    regards

    Vks

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    45
    HTTP Authentication: Basic and Digest Access Authentication:
    http://www.ietf.org/rfc/rfc2617.txt
    user:pass is sent base64 encoded

    Form Authentication:
    http://www.w3.org/Protocols/rfc2616/...c9.html#sec9.5
    user:pass is sent as POST Data
    user=myusername&pass=mypassword

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    2
    Quote Originally Posted by EOP View Post
    HTTP Authentication: Basic and Digest Access Authentication:
    http://www.ietf.org/rfc/rfc2617.txt
    userass is sent base64 encoded

    Form Authentication:
    http://www.w3.org/Protocols/rfc2616/...c9.html#sec9.5
    userass is sent as POST Data
    user=myusername&pass=mypassword
    Hi,

    Can I get a sample program where client send user name and password over https
    if password match on server then server sends data.

Popular pages Recent additions subscribe to a feed
Website Security Test