在C#Windows窗体应用程序中隐藏/加密敏感信息

在C#Windows窗体应用程序中隐藏/加密敏感信息

问题描述:

我正在创建一个应用程序,要求我从客户端的计算机上传文件到我的服务器。我决定使用ftp类,它允许我轻松地从我的服务器上传/下载文件。



我现在遇到的问题是确保我的敏感ftp信息是加密的并且对用户隐藏。这是C#中的一个Windows窗体应用程序,通过任何方式隐藏此信息的最佳方法是什么?

I am creating an application that requires that I upload files to my server from the client's computer. I have decided to use an ftp class which allows me to upload/download files from my server easily.

The problem I am having now is making sure that my sensitive ftp information is encrypted and hidden from the user. This is a windows forms application in C#, what is the best way to hide this information from being found by any means?

请参阅这些链接。



使用C#.NET中的SFTPBlackbox通过SFTP(SSH文件传输协议) [ ^ ]



SecureFTPConnection类 [ ^ ]



Chilkat FTP-2 .NET组件 [ ^ ]



C#中的sftp客户端代码,不使用任何dll [ ^ ]



C#的FTP安全客户端库 [ ^ ]



问候..:笑:
Refer these links.

Use SFTPBlackbox from C# .NET to upload and download files via SFTP (SSH File Transfer Protocol)[^]

SecureFTPConnection Class[^]

Chilkat FTP-2 .NET Component[^]

sftp client code in C# without using any dll[^]

An FTP secure client library for C#[^]

Regards.. :laugh:


通过敏感的FTP信息,我猜你的意思FTP凭据?如果是这样,我将从已知位置下载凭证(应使用公钥/私钥加密)。这将允许您更新凭证而无需修改您的应用。



/ ravi
By "sensitive FTP information", I assume you mean the FTP credentials? If so, I would download the credentials (which should be encrypted using public/private keys) from a known location. This will allow you to update the credentials without requiring modifications to your app.

/ravi