问题
I'm trying to get in-browser elevated trust to work and having an issue. I've:
- Purchased a certificate
- Signed the xap with that certificate
- Added AllowElevatedTrustAppsInBrowser=1 in the registry
Yet the app still doesn't think it is running in elevated trust. Any ideas on what I might be missing?
Running off localhost, of course, works because it doesn't require any of the above.
Screenshots included below as proof.
回答1:
So you have your certificate from a trusted publisher. You have signed the XAP. You have installed the certificate on the client computers.
Have you configured the registry on the client as described in this post?
You can also configure the registry settings using Group Policy
回答2:
Make sure to put the AppManifest.xaml along with the .xap file. I got the same problem, and it solved by having the .xaml. This is an old post, but hope it will help some one having the same problem.
来源:https://stackoverflow.com/questions/11678646/enabling-in-browser-elevated-trust