473,404 Members | 2,187 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,404 software developers and data experts.

Changing policy

I can't run a program from other computers on the local
network because the program contains an unsafe module (has
pointer). Can I create some policy associate with the
program so that I can run it from other machine?

Thanks

John
Jul 19 '05 #1
2 1312
You can strong name the unsafe assembly and then change policy on the
machine to run it on as follows:

caspol -m -cg 1.2 -strong -file a.exe -noname -noversion FullTrust

rajasi

"John" <jl****@compucyte.com> wrote in message
news:05****************************@phx.gbl...
I can't run a program from other computers on the local
network because the program contains an unsafe module (has
pointer). Can I create some policy associate with the
program so that I can run it from other machine?

Thanks

John

Jul 19 '05 #2
Thank you very much for the input. It works fine

John
-----Original Message-----
You can strong name the unsafe assembly and then change policy on themachine to run it on as follows:

caspol -m -cg 1.2 -strong -file a.exe -noname -noversion FullTrust
rajasi

"John" <jl****@compucyte.com> wrote in message
news:05****************************@phx.gbl...
I can't run a program from other computers on the local
network because the program contains an unsafe module (has pointer). Can I create some policy associate with the
program so that I can run it from other machine?

Thanks

John

.

Jul 19 '05 #3

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

Similar topics

0
by: andrew.noel | last post by:
I have a publisher policy setup that consists of the following two files: policy.0.0.assembly.dll policy.config The policy.config file contains the following: <configuration> <runtime>...
4
by: Chris Thunell | last post by:
Where in GroupPolicy can you adjust DotNet framework security? Thanks! cthunell@pierceassociates.com Chris Thunell
4
by: Erik Wikström | last post by:
In school (no I will not ask you to do my schoolwork for me) we talked about policy-based design and got an assignment where we got the a code- fragment from a stack-implementation. The idea with...
1
by: Richard Y | last post by:
I've written a custom class that inherits from System.Web.UI.Page, and I'd like VS.NET 2003 to use it as the default class in my codebehind pages. I didn't see any way to set this in the GUI. I did...
2
by: John | last post by:
I can't run a program from other computers on the local network because the program contains an unsafe module (has pointer). Can I create some policy associate with the program so that I can run...
2
by: jtyner | last post by:
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different version of the assembly are installed in the GAC -AND-...
18
by: Chris Hills | last post by:
A lesson in Posting How many C.L.C group posters does it take to change a C light bulb? 1 to change the light bulb and to post that the light bulb has been changed 14 to share similar...
2
by: JOHNSHELL08 | last post by:
Dear Team, There is a problem related to change ip address there in my network a domain admin user is exist and user knows its password and by this they are able to login with this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.