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

This is a discussion on Web server authentication using C client program by sending user name and password within the C Programming forums, part of the General Programming Boards category; Hi, Can any one give me pointers: I need to write a Client program in C that can authenticate a ...

  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
    EOP
    EOP is offline
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21