how can i create a log in program in c plz help i don''t know how it would be done details would be appreciable...?
ibtehaj
2014-12-27 10:06:30 UTC
how can i create a log in program in c plz help i don''t know how it would be done details would be appreciable...?
Three answers:
_Object
2014-12-27 12:29:09 UTC
"no that s the problem the pass shall be check through internet like logging into gmail, hotmail and other domains"
You will need to pass secure requests through a socket to the appropriate servers. Many services make use of OAuth dual-factor authentication, Google does, at least, and Dropbox as well.
I cannot recommend using C for this. Not many services provide client libraries written in C.
If you have to, of course, you can do everything via HTTP. If you choose to go this route, libcurl is a good choice of library.
I suggest you check out Google s documentation first.
https://developers.google.com/products/
justme
2014-12-27 10:12:31 UTC
Ask the user to enter their password. Compare what they entered with the actual password, if it doesn't match, exit the program. If it does match, continue running the program.
ibtehaj
2014-12-27 10:18:31 UTC
no that's the problem the pass shall be check through internet like logging into gmail,hotmail and other domains
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.