Re: Remoting Security issues
From: Ken Kolda (ken.kolda_at_elliemae-nospamplease.com)
Date: 10/21/04
- Next message: Sam Santiago: "Re: Remoting from a user control hosted in IE"
- Previous message: mfeingold: "Re: Remoting from a user control hosted in IE"
- In reply to: Ice: "Remoting Security issues"
- Next in thread: Ice: "Re: Remoting Security issues"
- Reply: Ice: "Re: Remoting Security issues"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 16:49:44 -0700
The <serverProviders> should be within the <channel> tag, e.g.
<channels>
<channel ref = "tcp" port ="8000">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
Ken
"Ice" <ice@nospam.com> wrote in message
news:%23MOtp%237tEHA.160@TK2MSFTNGP11.phx.gbl...
> All -
>
> I've done this so many times in the past, so I hope I am missing something
> obvious. My server config file looks like this:
> <?xml version="1.0" encoding="utf-8" ?>
>
> <configuration>
>
> <system.runtime.remoting>
>
> <application>
>
> <service>
>
> <wellknown
>
> mode = "Singleton"
>
> type = "RemoteObject.RemoteObject,RemoteObject"
>
> objectUri = "RemoteObject"
>
> />
>
> </service>
>
> <channels>
>
> <channel ref = "tcp" port ="8000"/>
>
> <serverProviders>
>
> <formatter ref="binary" typeFilterLevel="Full"/>
>
> </serverProviders>
>
> </channels>
>
> </application>
>
> </system.runtime.remoting>
>
> </configuration>
>
> and my client config file is similar except for the necessary changes.
When
> I pass a custom object from my client to my server I get the
> "System.Runtime.Serialization.SerializationException: Because of security
> restrictions" error.
>
> When I do the configuration in code i.e. set the typeFilter property on
the
> provider, I don't get this error. It's almost like the framework is not
> reading file in its entirety. Has anyone seen this or have suggestions?
>
> I am running framework v1.1 sp1 on W2K3.
>
> Thanks.
>
> Eb
>
>
- Next message: Sam Santiago: "Re: Remoting from a user control hosted in IE"
- Previous message: mfeingold: "Re: Remoting from a user control hosted in IE"
- In reply to: Ice: "Remoting Security issues"
- Next in thread: Ice: "Re: Remoting Security issues"
- Reply: Ice: "Re: Remoting Security issues"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|