|
|
Questions and answers for Security Trusted Security.
|
50. Security Trusted Security
|
| 50.1 How do I
assign full trust to an XBAP application ?
|
| 50.2 I am able
to access the registry using full trust XBAP application in debug mode, when
hosted in an intranet, the application gets crashed. What do I do?
|
| 50.3 How do I
get a custom defined permission set of an XBAP application ?
|
50.1 How do I assign full trust to an XBAP application ?
|
|
Full trust permission can be assigned using "Security" tab of the project
properties. By selecting "This is a full trust application" option in the
security tab full trust can be assigned to the XBAP application. But be aware
that it might cause security issues to your customer's machine.
|
50.2 I am able to access the registry using full trust XBAP application in
debug mode, when hosted in an intranet, the application gets crashed. What do I
do?
|
|
The application crashes due to insufficient access to registry even if you have
a local intranet certificate. The issue is, you get access to the registry
using the CLR in debug mode, whereas when hosted in local intranet, NT security
restricts you from accessing the registry, giving full access to registry in
the NT security to the administrators and power users group.
|
50.3 How do I get a custom defined permission set of an XBAP application ?
|
|
By selecting custom as the 'Zone' in the Security tab of the project properties.
Permission can be included by clicking on the included column of the
corresponding permission.
|
|