473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help with CLR security

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
Jan 20 '07 #1
2 1356
This is .NET FW 2.0, btw

"Robert Ellis" <ro******@n0sp8m.hotmail.co.ukwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
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


Jan 20 '07 #2
"Robert Ellis" <ro******@n0sp8m.hotmail.co.ukwrote in message
news:et**************@TK2MSFTNGP04.phx.gbl...
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.
Jan 20 '07 #3

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

Similar topics

0
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
2
by: John Regan | last post by:
Hello All I am trying to find the owner of a file or folder on our network (Windows 2000 Server) using VB.Net and/or API. so I can search for Folders that don't follow our company's specified...
0
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
5
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hello, I am in serious need of help. I have an ASP.NET application written in C#. I have a page that processes a file on the web server. The page uses a class I created and stored in the AppCode...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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,...

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.