【问题标题】:secure file transfer over the internet [closed]通过互联网进行安全文件传输[关闭]
【发布时间】:2012-10-26 17:29:06
【问题描述】:

通过互联网传输文件(安全数据)的最佳方式是什么?我正在考虑 WCF REST 服务。文件大小小于 10MB。我们公司不允许 FTP 传输。您能否建议是否有任何文章或第三方工具?我很感激任何建议。

【问题讨论】:

    标签: c# .net wcf security data-transfer


    【解决方案1】:

    我假设你在 Windows 上。从命令行你可以使用pscp,它是PuTTY Secure Copy,有一个很好的教程 here,但基本思想是:

    pscp myfile.txt hostname:/home/user/

    另一个更全面和用户友好 (GUI) 的应用程序是 winSCP。

    【讨论】:

    • 有什么方法可以向发件人发送确认消息吗?
    • 如果我们使用scp,是否必须从我们的网络打开端口?
    【解决方案2】:

    由于您包含 C# 标记,您是否将其合并到程序中?

    如果是这样,请查看 SharpSSH 库 - http://www.tamirgal.com/blog/page/SharpSSH.aspx

    功能列表 以下列表总结了 SharpSSH 当前支持的功能:

    SharpSSH is pure .NET, but it depends on Mentalis.org Crypto Library for encryption and integrity functions.
    SSH2 protocol support
    SSH File Transfer Protocol (SFTP)
    Secure Copy (SCP)
    Key exchange: diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1
    Cipher: 3des-cbc, aes128-cbc
    MAC: hmac-md5
    Host key type: ssh-rsa, ssh-dss
    Userauth: password, publickey (RSA, DSA)
    Port Forwarding
    Stream Forwarding
    Remote Exec
    Generating DSA and RSA key pairs
    Changing the passphrase for a private key
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多