英文:
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
-
你可以在不存储或触碰用户数据的情况下跨设备同步剪贴板数据,方法是使用端到端加密。这意味着剪贴板数据在发送者设备上被加密,只能使用不存储在服务器上的唯一密钥在接收者设备上解密。
-
为了认证用户,你可以使用公钥密码学和认证令牌的组合。用户可以在他们的每个设备上生成唯一的公钥/私钥对,服务器可以使用这些密钥来建立设备之间的安全通信通道。
-
你可以让设备直接使用点对点网络进行通信,这有助于避免在服务器上存储任何用户数据。
对于所有这些方法,还可以有更多的方法,但这些是你可以尝试的一些方法。
英文:
-
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.
-
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.
-
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论