Strange Encryption Request? (General questions)
I have a customer who described their FTP encrypted connection as follows...
1. You transmit the username and password to us.
2. We verify the username and password.
3. We encrypt a random number with your public key and send it to you
4. You use your private key to decrypt the random number and send it back to us.
5. We verify the random number, then allow the connection.
Does FTPDlx.NET support this 'protocol'? If so, what combination of connection properties do I need to set?
Thanks,
Andy
Re: Strange Encryption Request?
Andy,
What you're reffering to is SFTP protocol using Public/Privatekey Authentication. Am I correct?
If so, then you need to set Protocol property to SFTP, and Authentication property to PublicKey.
You will also need to load the PrivateKey into wodFtpDLX.Net's PrivateKey property. You will need to provide it in XML format which is native to .Net components. In order to convert it to XML, you can use our wodKeyManager (available here).
Please notice that what I'm talking about is SFTP protocol. There is also FTPS, but in that case Certificate authentication is used, not Public/PrivateKey.
If I misunderstood you, please correct me.
regards,
Damba
Re: Strange Encryption Request?
Andy,
What you're reffering to is SFTP protocol using Public/Privatekey Authentication. Am I correct?
Thanks Damba. I'm not quite sure what I'm referring to; the random number thing threw me. I will ask them to test and try your solution.
Thanks for your help.
Andy