[Mono-devel-list] Global dllmap entries?

Ben Maurer bmaurer at ximian.com
Sat Apr 9 00:23:16 EDT 2005


On Fri, 2005-04-08 at 22:46 -0400, Miguel de Icaza wrote:
> > I would think something like $mono/etc/mono/config.d/ directory where
> > apps could add mappings should work for that. At least it seems the most
> > common way that I've seen it done.
> > 
> > For example:
> > /etc/mono/config
> > /etc/mono/config.d/gtk-sharp.config
> > /etc/mono/config.d/3rdpartystuff.config
> > etc.
> 
> I was thinking more along the lines of having an extra <global-dllmap>
> entry on the existing .config file of the assembly that has already been
> loaded as opposed to triggering a bunch of files from being loaded.

Wouldn't that cause security problems (of course, after we start doing
security checks)? By loading my own dll with a configuration file, I
could map a trusted assembly to something hostile.

-- Ben




More information about the Mono-devel-list mailing list