即使应用程序已卸载,如何在本地保留密码/应用程序数据而无需漫游 - 使用凭据管理器
在 UWP 中,凭据管理器是存储应用程序卸载和安装之间敏感信息的好地方。 我发现凭据管理器默认启用设备之间的漫游,并且无法以编程方式关闭。 我的问题是
如果我希望在本地保留密码(即使应用程序已卸载)怎么办?我需要在应用卸载和安装之间保留一些数据,同时又不能在设备之间漫游?
PasswordVault 同步(如果您使用的是 Microsoft 电子邮件)。其他类型的登录(例如 AD 或 AzureAd)怎么样?此凭据同步是否适用于任何登录类型或仅适用于 Microsoft 电子邮件登录?
谢谢。
In UWP Credential manager is a good place to store sensitive information between application uninstallations and installations.
I see that the Credential Manager by default enable roaming between devices and can't be turned off programmatically.
My questions are
What if I want the password to be preserved locally even if the app is uninstalled? I have a requirement to keep some data between uninstalls and installs of the app and at the same time without roaming between devices?
PasswordVault sync, if you're using your Microsoft email. What about other types of logins such as AD or AzureAd? Does this credential syning apply to any login types or just Microsoft email login?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不得不说,Credential Locker 并不是为这种场景而设计的。如果您想将用户信息保存在本地,可以选择本地数据库等其他方式。如您所知,凭据储物柜将漫游数据,我们无法禁用此功能。因此,只要您以 Microsoft 帐户登录,数据就会在设备之间共享。
凭据储物柜文档。但Microsoft帐户应该指向您用于登录系统的帐户。所以我怀疑AzureAD帐户不起作用。我的建议是您可以直接使用您的AzureAD帐户进行测试。
I have to say that the Credential locker is not designed for such a scenario. If you want to save the user information locally, you could choose other ways like a local database. As you've already known, the Credential locker will roam data and we can't disable this. So the data will share between devices as long as you are logged as Microsoft accounts.
There is no description of this on the Credential locker document. But the Microsoft account should point to the account that you used to log in to the system. So I suspect the AzureAD account doesn't work. My suggestion is that you could directly make a test with your AzureAD account.