Take the 2-minute tour ×  The bottom line is to create a custom
FTP Authentication Provider. In order to do this one must
inherit from IFtpAuthenticationProvider interface and then
register that assembly in GAC. After that the assembly needs to
be registered in IIS's FTP settings.  In order for this to be
accomplished I have to use the database which holds my user
information in the database from the custom Membership and Role
providers we have developed previously. So, that means I have to
use a local class library app.config file and read it with
ConfigurationManager.OpenMappedExeConfiguration(). I read the
connection strings from there and I'm even able to provide it to
Linq-To-Sql classes dynamically. No problem there.  Next, I try
to create a class that inherits from SqlMembershipProvider so
that I can use it's own system to decrypt the password for a
user. But, the problem is that it has to read machineKey values
from configuration. The only way you can provide custom
configuration to a SqlMembershipPro