gpt4 book ai didi

UWP(通用 Windows 平台)中的 Windows 应用程序认证问题

转载 作者:可可西里 更新时间:2023-11-01 10:14:06 25 4
gpt4 key购买 nike

我有一个使用 Windows 运行时组件的 winJS 项目,为此我启用了对 所有 的 WinRT 访问。

我的应用程序在公共(public)网络上运行良好。

我的客户端使用某种类型的专用网络,而我的应用没有专用网络访问权限。

为了解决这个问题,我在 package.appxmanifest 文件的 Capabilities 中启用了 Private Networks (Client & Server)

现在该应用程序在专用网络中也能正常工作。

但后来我不得不将此应用程序放到 Windows 应用商店,当我执行 Windows 认证套件测试时,它失败并出现以下错误:

FAILED App manifest Error Found: The app manifest test detected the following errors: The Application cannot include an ApplicationContentUriRule with 'all' or 'allowForWebOnly' WindowsRuntimeAccess while any of the following capabilities are enabled: enterpriseAuthentication, sharedUserCertificates, musicLibrary, picturesLibrary, videosLibrary, removableStorage, documentLibrary, internetClientServer, privateNetworkClientServer.

谁能给我一些解决方法?

谢谢!

最佳答案

根据我的知识和研究,如果您将“ApplicationContentUriRule”定义为具有“ALL”的运行时访问权限,则该应用程序在验证到 Windows 应用商店时会失败。这是因为 Microsoft 将这种配置视为安全风险。

请引用这个https://social.msdn.microsoft.com/Forums/en-US/fd28bcd5-b3a8-4307-be93-29fc4c5aaacd/uwpwork-around-for-application-content-uri-rule-windows-runtime-access?forum=wpdevelop ,我认为这也会对您有所帮助。

关于UWP(通用 Windows 平台)中的 Windows 应用程序认证问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47090489/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com