473,490 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

.NET Remoting Security issue (MSPRESS BOOK)

Hi,

I bought the book .NET Remoting (MSPRESS) and using the book's source code
to build a singleton I'm having a problem when the client uses a delegate
(for the server callback) I have a security exception, I've granted Full
Trust to the application and I'm still having the issue.
Can anyone help with that?!

Here you can download the source code from MS:
http://download.microsoft.com/downlo...NT42KMeXP/EN-U
S/Remoting.exe

Any help will be greatly appreciated
Nov 15 '05 #1
4 1684
hope u had below entries in configuration for both the client and the
server.
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
<provider type="App.Shared.Remoting.PrincipalServerSinkProvi der,
App.Shared" />
</serverProviders>

"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
Hi,

I bought the book .NET Remoting (MSPRESS) and using the book's source code
to build a singleton I'm having a problem when the client uses a delegate
(for the server callback) I have a security exception, I've granted Full
Trust to the application and I'm still having the issue.
Can anyone help with that?!

Here you can download the source code from MS:
http://download.microsoft.com/downlo...NT42KMeXP/EN-U S/Remoting.exe

Any help will be greatly appreciated

Nov 15 '05 #2
I'm not using a configuration file, and I'm using an HTTP channel with
default SOAP formatter
"Bijoy Thulasidharan" <bi*****************@dewr.gov.au.nospam> wrote in
message news:3fd014ef$1@info-mid...
hope u had below entries in configuration for both the client and the
server.
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
<provider type="App.Shared.Remoting.PrincipalServerSinkProvi der,
App.Shared" />
</serverProviders>

"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
Hi,

I bought the book .NET Remoting (MSPRESS) and using the book's source code to build a singleton I'm having a problem when the client uses a delegate (for the server callback) I have a security exception, I've granted Full
Trust to the application and I'm still having the issue.
Can anyone help with that?!

Here you can download the source code from MS:

http://download.microsoft.com/downlo...NT42KMeXP/EN-U
S/Remoting.exe

Any help will be greatly appreciated


Nov 15 '05 #3
Any ideas?
"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
I'm not using a configuration file, and I'm using an HTTP channel with
default SOAP formatter
"Bijoy Thulasidharan" <bi*****************@dewr.gov.au.nospam> wrote in
message news:3fd014ef$1@info-mid...
hope u had below entries in configuration for both the client and the
server.
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
<provider type="App.Shared.Remoting.PrincipalServerSinkProvi der,
App.Shared" />
</serverProviders>

"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
Hi,

I bought the book .NET Remoting (MSPRESS) and using the book's source code to build a singleton I'm having a problem when the client uses a delegate (for the server callback) I have a security exception, I've granted Full Trust to the application and I'm still having the issue.
Can anyone help with that?!

Here you can download the source code from MS:

http://download.microsoft.com/downlo...NT42KMeXP/EN-U
S/Remoting.exe

Any help will be greatly appreciated



Nov 15 '05 #4
Hi,

I found a solution for the problem, it is just a security setting on .NET
Framework 1.1 that prevents malicious use during deserialization... here's
more information about that....
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconautomaticdeserializationinnetremoting.asp
"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
Any ideas?
"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:uS*************@TK2MSFTNGP11.phx.gbl...
I'm not using a configuration file, and I'm using an HTTP channel with
default SOAP formatter
"Bijoy Thulasidharan" <bi*****************@dewr.gov.au.nospam> wrote in
message news:3fd014ef$1@info-mid...
hope u had below entries in configuration for both the client and the
server.
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
<provider type="App.Shared.Remoting.PrincipalServerSinkProvi der,
App.Shared" />
</serverProviders>

"Fabio Cavalcante" <tp*****************@hotmail.com> wrote in message
news:O8**************@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I bought the book .NET Remoting (MSPRESS) and using the book's source
code
> to build a singleton I'm having a problem when the client uses a

delegate
> (for the server callback) I have a security exception, I've granted Full > Trust to the application and I'm still having the issue.
> Can anyone help with that?!
>
> Here you can download the source code from MS:
>

http://download.microsoft.com/downlo...NT42KMeXP/EN-U > S/Remoting.exe
>
> Any help will be greatly appreciated
>
>



Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
302
by: Trokey | last post by:
Here's my setup: Component A: .NET exe acting as a .NET remoting server. The channel type is tcp. Component B: .NET assembly acting as a .NET remoting client with event handlers for server...
3
4683
by: Deepal | last post by:
Hi; I'm doing an example program from a book regarding .NET Remoting. Both the Client and Server are C# Console Applications. Server Code is using System; using System.Runtime.Remoting;...
4
3096
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
3
1700
by: Lucas Tam | last post by:
Does anyone have a good articles that describes the pros and cons of Web Services vs. Remoting Hosted in IIS? Is there a reason to use either or? With Remoting Hosting in IIS, is it possible...
5
1896
by: LGHummel | last post by:
I'm trying to host a remoting app in IIS and am getting the following error: Failed to execute the request because the ASP.NET process identity does not have read permissions to the global...
9
2086
by: Nak | last post by:
Hi there, I have been messing around with remoting in an attempt to create a "shared application" as mentioned in another thread by that name. I have created a singleton object just like the...
4
5311
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
5
1368
by: Simon Verona | last post by:
I have a pair of functions that I'm calling using remoting - called readfile and writefile. The readfile works fine when called from the client PC. The writefile method returns an error: ...
1
1870
by: =?Utf-8?B?TUJ1cnNpbGw=?= | last post by:
This works without any problems: Code Snippet string uri = "tcp://localhost:8000/CAOFactory"; cf = (CustomerInterfaces.ICAOFactory)Activator.GetObject(typeof(CustomerInterfaces.ICAOFactory),...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.