Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / March 2006

Tip: Looking for answers? Try searching our database.

Security and Remoting Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David White - 28 Mar 2006 01:27 GMT
Thanks in advance for any pointers or help you can provide...

I am rather new to all this so forgive any newbie mistakes...

I have a WinNT Service written in C#. Once it starts up, it exports an
IPC-based remote object interface to permit another component of my application
(a C# Windows Forms application) to use the service as a proxy of sorts.

The Service runs in the LocalSystem account. The Windows Forms application is
running on the same machine but on the user's desktop.

When I attempt to access the remote object's method, I get an exception thrown
when the attempt is made to connect to the IPC port. It reads, "failed to
connect to an IPC port: access is denied".

Using SysInternals' ProcessExplorer, I have taken a look at the IPC which the
service has made available. I can see that its security permissions on the
named pipe basically grants all to the System account. But it denies all to
Network. There are no other accounts/groups listed.

From the above it seems to make sense that my application cannot connect to
complete the remote call. The question is, what is needed to permit this call
to complete and how do I do it?

Cheers.
David White - 28 Mar 2006 02:39 GMT
Thanks, found the answer myself. I needed to create the server channel using
one of the constructors that takes a dictionary argument. In that dictionary I
needed a name/value set = authorizedGroup/Everyone. Cheers!

> Thanks in advance for any pointers or help you can provide...
>
[quoted text clipped - 23 lines]
>
> Cheers.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.