Re: dynamic reflection from xml file security
- From: "TS" <manofsteele1@xxxxxxxxxxxxx>
- Date: Thu, 12 Jan 2006 14:27:28 -0600
>If the assembly is comming
> from an untrusted source, I suggest you create a code group and not giving
> the assembly full permission for executing.
The only assemblies would be framework assemblies
> What do you mean by executing a system command?
I mean is there any class in the .net framework that by ONLY instantiating
it and optionally setting some of its properties would could cause a
security risk or other ill effects?
See, i am allowing server controls to be instantiated by supplying its name
and assembly name for the sole purpose of dynamically putting it on a web
page as well as setting properties of that control thru the xml. Methods of
the control are not envoked, on thing supplied to option to set properties
of this control.
I want to make sure i don't have a security risk in my xml file that could
get hijacked on the server and be manipulated in some way to do harm or
other issues to a production box.
thanks
"Kevin Yu [MSFT]" <v-kevy@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:UZynWGyFGHA.224@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi TS,
>
> What do you mean by executing a system command? If the assembly is comming
> from an untrusted source, I suggest you create a code group and not giving
> the assembly full permission for executing.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>
.
- Follow-Ups:
- Re: dynamic reflection from xml file security
- From: Kevin Yu [MSFT]
- Re: dynamic reflection from xml file security
- References:
- dynamic reflection from xml file security
- From: TS
- Re: dynamic reflection from xml file security
- From: Nicholas Paldino [.NET/C# MVP]
- Re: dynamic reflection from xml file security
- From: TS
- Re: dynamic reflection from xml file security
- From: Nicholas Paldino [.NET/C# MVP]
- Re: dynamic reflection from xml file security
- From: TS
- Re: dynamic reflection from xml file security
- From: Kevin Yu [MSFT]
- dynamic reflection from xml file security
- Prev by Date: Re: Looking for proper way to code this
- Next by Date: Re: Download file to local file system
- Previous by thread: Re: dynamic reflection from xml file security
- Next by thread: Re: dynamic reflection from xml file security
- Index(es):
Relevant Pages
|