Hey guys,
Has anyone done any networking code that uses SSL? I am worried about the authentication mechanism I am creating because it requires the user's password to be sent (as a hash, but still) through a non-SSL socket. This seems like a wonderfully bad idea, so I'd like to run the socket on SSL possibly.
My other idea is to handle authentication using a PHP script and a remote web call from the client, which wouldn't be that hard really. The script would return an authentication token which the client would use when connecting to me server. I'm also planning on giving access to users through telnet/SSH however, so I really should figure out how to do this in BlitzMax...
I see that Brucey has used SSL in his libcurlssl module but it doesn't seem to be in a form very useful for this (still digging around in there). If I need to write some C code I'm not opposed to that.
Any ideas?
Has anyone done any networking code that uses SSL? I am worried about the authentication mechanism I am creating because it requires the user's password to be sent (as a hash, but still) through a non-SSL socket. This seems like a wonderfully bad idea, so I'd like to run the socket on SSL possibly.
My other idea is to handle authentication using a PHP script and a remote web call from the client, which wouldn't be that hard really. The script would return an authentication token which the client would use when connecting to me server. I'm also planning on giving access to users through telnet/SSH however, so I really should figure out how to do this in BlitzMax...
I see that Brucey has used SSL in his libcurlssl module but it doesn't seem to be in a form very useful for this (still digging around in there). If I need to write some C code I'm not opposed to that.
Any ideas?