How to use Runtime Security Policy
From: Michal Januszczyk (michal_januszczyk_at_hotmail.com)
Date: 07/10/03
- Next message: Kris McFarren: "Thanks, and One Final Question"
- Previous message: Pieter Philippaerts: "Re: RSA Assymetric encryption with public key"
- Next in thread: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Reply: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Jul 2003 05:46:13 -0700
I use winForms controls inside html page run in Internet
Explorer. These forms perform some actions that demand
some
permissions. When user is running the application
he is continually warned that the application attempted
to perform an operation not allowed by the security
policy.
(I can turn security off by calling caspol -s -off but
this is not a good idea). I would like to configure
security policy to allow my code to access required
functionality. (I suppose that everything is related to
UI-Permission, when Focus() method is being called inside
my .NET winForms control)
I know that there is a tool which allows to set
appropriate policy for some code categories (e.g loaded
from internet, published by some development company,
etc.). This tool is ".NET Framework Configuration" ->
Runtime Security Policy.
And now the question:
Does anybody know kow to make this tool let me allow
my code to be granted some rights ?.
For example: I would like any asembly loaded from
particular URL to be given some code access permission
set. My code is not digitally signed. Is it still
possible ?
Thanx for any suggestions
Michal Januszczyk
- Next message: Kris McFarren: "Thanks, and One Final Question"
- Previous message: Pieter Philippaerts: "Re: RSA Assymetric encryption with public key"
- Next in thread: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Reply: Shel Blauman [MSFT]: "Re: How to use Runtime Security Policy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|