多个 Azure 队列
我正在尝试找出解决以下问题的最佳实现/方法,
我有客户使用我们的 win forms 应用程序,该应用程序有一个插件,该插件将连接到 Azure 队列,以检查是否有等待会议前连接客户的发票。如果有,则插件会将发票下载到客户本地数据库中。有很多客户使用此应用程序,因此所有客户都会连接到队列。他们都需要下载自己的发票。
我的想法是通过为每个客户命名队列(客户 GUID 将识别队列)来实现这一点。因此,所有客户将使用相同的帐户密钥/名称连接到队列。现在的问题是每个客户在 dll 中都有帐户密钥/名称,他们可以反映和检索(聪明的客户)。那么有没有一种方法可以加密密钥/名称,或者有人可以建议更好的解决方案
I am trying to workout the best implementation/approach to the following problem
I have customers using our win forms application which has a plugin which will connect to the Azure Queue to check if there are awaiting invoices for the connecting customer at pre conf intervals. If there is then the plugin will download the invoices into the customers local db. There are lots of customers using this application so all of them will connect to the queue. They will all need to download their own invoices
How I thought of implementing this was by having named queues for each customer (the customer GUID will identify the queue). So all the customers will use the same Account key/name to connect to the queue. Now the problem with this is that each customer has the account key/name in the dll which they can reflect and retrieve (smart customers). So is there a way I can encrypt the key/name or is there a better solution that somebody can suggest
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为唯一安全的选择是在某个地方建立一个 Web 服务作为队列的前端。否则,正如您所说,您会将帐户密钥泄露给客户,这将允许任何客户读取/更改/删除帐户中的任何数据。
I think the only secure option is to stand up a web service somewhere that acts as a front-end to the queues. Otherwise, as you said, you're leaking the account key to the client, which would allow any customer to read/change/delete any data in the account.