Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.1k views
in CompleteFTP by (280 points)
I just try to start using the extension for completeftp.
It's very powerfully!
Thanks for provide such super extendable FTP tools!

7 Answers

0 votes
by (51.6k points)
You're very welcome. We think they're pretty cool too, even if we do say so ourselves. :D

What sort of extension are you developing?

- Hans (EnterpriseDT)
0 votes
by (280 points)
start learning Authentication and Event extension at moment
0 votes
by (280 points)
By the way, Can you provide me an sample for the Advanced Authentication Extensions with SFTP using public key authentication ?
Is that possible?

So I want to try store the public key in DB and do the authenticate.

Thanks a lot!
0 votes
by (162k points)
You can use the (not so) simple example shown here:

http://www.enterprisedt.com/products/co ... sions.html

Instead of having the keys hardcoded you pull them out of a db.
0 votes
by (280 points)
You can use the (not so) simple example shown here:

http://www.enterprisedt.com/products/co ... sions.html

Instead of having the keys hardcoded you pull them out of a db.



Yes, I already read the simple Authentication Extensions.

but I need an example for the Advanced Authentication Extensions to use public key authentication.
Because I am not sure which one to used. Do I need compare public key or private key in Authenticate method?
0 votes
by (162k points)
You don't actually need to use an advanced authentication extension to do public key authentication - all you need to do is provide the public keys of the user as shown in the simple example. No comparison is required - the server handles all that for you. You just need to provide the public keys, extracting them from your db when required.
0 votes
by (280 points)
If you write an advanced authentication extension, you need to return IsValidKey. There really isn't a simple way to determine if the key is valid - we've added a method to do this that will be available in the next release.

However it sounds like the simple authentication extension is all you require, and you don't need to compare keys there.

Categories

...