How to use Runtime Security Policy

From: Michal Januszczyk (michal_januszczyk_at_hotmail.com)
Date: 07/10/03


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



Relevant Pages

  • Re: Publishing Software...
    ... I may have to recant my thoughts about it being a permissions issue, ... domain workstation security policy and then lock it down and reapply that. ... >> Are the users on the machines in question, members of the local Administrators group?? ... >> User Rights configuration was completed with one or more errors. ...
    (microsoft.public.windows.server.sbs)
  • Re: HTML embbeded (via <object> tag) Strong FullTrust Assemblies f
    ... Nicole, thank you for all of your precise help. ... >> Can an assembly with internet permissions running as an embedded object, ... > You seem to be mixing up the .NET Framework security policy and the IE ... You will most likely need to alter the client machine's .NET ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: security managment and policy monitoring
    ... >enable me to verify that an organization's security policy is being ... and in NT this would be the files that comprise the SAM database ... Once you have _all_ the data about files and permissions gathered, ... Then there's no single place where the relevant files might reside, ...
    (comp.security.misc)
  • Re: Okay.. what is going on here .. Security error?
    ... and changed the local intranet permissions setting - ... > against the security policy, and a permission grant is generated. ... > there is a more restrictive policy placed on LocalIntranet assemblies. ...
    (microsoft.public.dotnet.security)
  • Re: Users cannot change passwords
    ... Security Policy [or possibly local on a domain controller] the security ... change password permissions to the user object in Active Directory. ... I have looked for a group policy, ...
    (microsoft.public.win2000.group_policy)

Quantcast