Security Manager HOWTO??



I have an application that already has a config file that specifies
expected hosts and ports for various operations.
I don't want to duplicate this information in a .policy file as I know
this would cause some extra support calls :), but would
rather create a new SecurityManager using the settings from my existing
configuration file.

I cant seem to find a nice howto document on building up a Security
Manager. Do I sub-class it? OR pass a PermissionCollection of
SocketPermission's to an empty
Security Manager or what? Any pointers would be nice. Documentation
looks disjointed at the moment...

Cheers,
Lordy
.



Relevant Pages

  • Re: .NET 2.0 Trust issue on Hosted Server
    ... I would set the trust level to medium on my local copy too and try to debug... ... i just use what's in the config file: ... There's nothing on my pages that is a big security issue. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: .NET 2.0 Trust issue on Hosted Server
    ... There's nothing on my pages that is a big security issue. ... Is there anything I should do to change my config file. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Restricted Subsets of Perl
    ... >There are only security issues if the config file is supplied by other, ... I'm not sure of the trust model. ... regards to reducing the chance of such accidental collisions. ...
    (comp.lang.perl.misc)
  • Re: WPPackager, Web Part and Permissions
    ... I think it might be that I have some added SecurityClass nodes in my ... custom-built config file that allow my components to do things such as ... If I use these security classes in my permission sets, ... >> overwrite the permissions, it just breaks them. ...
    (microsoft.public.sharepoint.windowsservices)
  • config file processing
    ... what are the preferred means of dealing with slightly complex config ... i mean the config file may not be ... saved from the server due to security? ...
    (comp.lang.java.gui)