PC Review


Reply
Thread Tools Rate Thread

Help with CLR security

 
 
Robert Ellis
Guest
Posts: n/a
 
      20th Jan 2007
Hi,

I would be grateful for advice on the following.

Server 1 (Windows 2003 Server)
COMSRV1 VB6 COM ActiveX EXE
NETSRV1 .NET (VB2005) .DLL

Workstation 1 (Windows XP Professional)
APP1 VB6 Standard EXE application



APP1 calls COMSRV1 using DCOM. This works fine for Domain Users and Domain
Admins.

COMSRV1 then calls NETSRV1, which as you can see above, is installed on the
same Server. This works fine for Domain Admins, but will NOT work for Domain
Users.

I have downloaded the .NET SDK so that I can use the .NET configuration tool
to configure CLR Security, which I figure is the issue. I've added NETSRV1
to the GAC and set permissions (I think) that should allow NETSRV1 full
access to all resources on the machine and also full access to all resources
at the Intranet level.

Can someone advise how I should configure security to allow Domain Users to
be able to execute all three components in sequence?

Thanks,

Robert


 
Reply With Quote
 
 
 
 
Robert Ellis
Guest
Posts: n/a
 
      20th Jan 2007
This is .NET FW 2.0, btw

"Robert Ellis" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I would be grateful for advice on the following.
>
> Server 1 (Windows 2003 Server)
> COMSRV1 VB6 COM ActiveX EXE
> NETSRV1 .NET (VB2005) .DLL
>
> Workstation 1 (Windows XP Professional)
> APP1 VB6 Standard EXE application
>
>
>
> APP1 calls COMSRV1 using DCOM. This works fine for Domain Users and Domain
> Admins.
>
> COMSRV1 then calls NETSRV1, which as you can see above, is installed on
> the same Server. This works fine for Domain Admins, but will NOT work for
> Domain Users.
>
> I have downloaded the .NET SDK so that I can use the .NET configuration
> tool to configure CLR Security, which I figure is the issue. I've added
> NETSRV1 to the GAC and set permissions (I think) that should allow NETSRV1
> full access to all resources on the machine and also full access to all
> resources at the Intranet level.
>
> Can someone advise how I should configure security to allow Domain Users
> to be able to execute all three components in sequence?
>
> Thanks,
>
> Robert
>
>



 
Reply With Quote
 
Willy Denoyette [MVP]
Guest
Posts: n/a
 
      20th Jan 2007
"Robert Ellis" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I would be grateful for advice on the following.
>
> Server 1 (Windows 2003 Server)
> COMSRV1 VB6 COM ActiveX EXE
> NETSRV1 .NET (VB2005) .DLL
>
> Workstation 1 (Windows XP Professional)
> APP1 VB6 Standard EXE application
>
>
>
> APP1 calls COMSRV1 using DCOM. This works fine for Domain Users and Domain Admins.
>
> COMSRV1 then calls NETSRV1, which as you can see above, is installed on the same Server.
> This works fine for Domain Admins, but will NOT work for Domain Users.
>
> I have downloaded the .NET SDK so that I can use the .NET configuration tool to configure
> CLR Security, which I figure is the issue. I've added NETSRV1 to the GAC and set
> permissions (I think) that should allow NETSRV1 full access to all resources on the
> machine and also full access to all resources at the Intranet level.
>
> Can someone advise how I should configure security to allow Domain Users to be able to
> execute all three components in sequence?
>
> Thanks,
>
> Robert
>
>



This doesn't relate to clr or .NET security, your issue is pure DCOM security. You have to
set the security on the proxy object in code, or you need to adapt the security settings for
the remote server by running DComcnfg.msc.

Willy.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About Application Security(Code Access Security). It dosn't show correct output Tony Johansson Microsoft C# .NET 3 14th Apr 2010 04:44 PM
Errors in File Security settings in Windows XP Security guide security template? arthg@hotmail.com Windows XP Security 1 25th Jan 2006 02:06 AM
Problems with Updates in Trend Micro Internet Security and Windows Security Alerts JEG Windows XP General 7 11th Dec 2004 06:29 PM
Problems with Updates in Trend Micro Internet Security and Windows Security Alerts JEG Windows XP Performance 5 1st Nov 2004 07:47 PM
Problems with Updates in Trend Micro Internet Security and Windows Security Alerts JEG Anti-Virus 0 1st Nov 2004 04:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:54 PM.