Security Policy

G

Guest

When I distribute myApp to a network drive I get an error.
Tells me I need to change my secority policy so I write a batch file as
follows:

C:
CD\
CD C:\WINNT\Microsoft.NET\Framework\v1.1.4322\
CLS
caspol -quiet -cg 1.2. FullTrust

and run it on my machine which prevents the problem. I am administrator of
my own machine. I run it on a colleagues who is not admin of his own machine
and the policy change does not occur. So I try caspol -s off on his machine
and nothing changes and I still get error. I only have 6 users so I do not
really need a strong security policy. Any ideas?
 
G

Guest

forgot to say that when i run caspol -s off on my own machine i get a
succeeded message but when i do it on another machine whether logged in as
the user or admin i get a ERROR: Runtime error: Policy level enterprise
cannot be set
 
P

Phill. W

marcmc said:
When I distribute myApp to a network drive I get an error. .. . .
caspol -quiet -cg 1.2. FullTrust

IIRC, you need to tell the Framework /what/ you want to trust, as in

caspol -q -ag 1.2
-url "file:/ /server/share/*"
FullTrust
-name "readible name"

HTH,
Phill W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top