创建剪贴板同步程序的方法

huangapple go评论80阅读模式
英文:

How to Create a Clipboard Synchronisation Program

问题

我喜欢创建一个剪贴板同步程序。

能够在Windows、Mac和Linux上运行。

技术:Electron和Ionic。

主要优先级:安全性

如何在不存储或触碰用户数据的情况下在设备之间同步剪贴板?

如何识别和验证用户,并在他的设备之间启用通信?而不存储剪贴板数据或IP地址到服务器?

需要系统设计的帮助。

英文:

I like to Create a Clipboard Synchronisation Program.

That work across Windows, Mac and Linux.

Technologies: Electron and Ionic.

Primary Priority : Security

How to Sync Clipboard across devices without storing or touching user data?

How to Identify and Authenticate a user and enable communication between his devices? Without storing Clipboard data or IPadress to the Server?

Need help with system design

答案1

得分: 0

  1. 你可以在不存储或触碰用户数据的情况下跨设备同步剪贴板数据,方法是使用端到端加密。这意味着剪贴板数据在发送者设备上被加密,只能使用不存储在服务器上的唯一密钥在接收者设备上解密。

  2. 为了认证用户,你可以使用公钥密码学和认证令牌的组合。用户可以在他们的每个设备上生成唯一的公钥/私钥对,服务器可以使用这些密钥来建立设备之间的安全通信通道。

  3. 你可以让设备直接使用点对点网络进行通信,这有助于避免在服务器上存储任何用户数据。

对于所有这些方法,还可以有更多的方法,但这些是你可以尝试的一些方法。

英文:
  1. You can sync clipboard data across devices without storing or touching user data is to use end-to-end encryption. This means that the clipboard data is encrypted on the sender's device and can only be decrypted on the recipient's device using a unique key that is not stored on the server.

  2. To authenticate users, you could use a combination of public-key cryptography and authentication tokens. The user could generate a unique public/private key pair on each of their devices, and the server could use these keys to establish secure communication channels between the devices.

  3. you could have the devices communicate directly with each other using peer-to-peer networking, this would help avoiding storing any user data on server.

There can be more approaches for all of these but these are few you can try

huangapple
  • 本文由 发表于 2023年1月8日 00:36:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/75042005.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定