By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Using CASPOL to grant permissions for a strong named assembly

P: n/a
Hi,

I have a couple of small exes compiled using the same .snk file. These exes
will be deployed to
the client machines using a "No Touch Deployment" scenario from a web
server.

We need to push a script out to the client machines to run Caspol to allow
the exes the relevant permissions they need.
Is there a way to use Caspol to tell a machine to trust all the exes that
were built using this .snk file?

ie If I add a new exe I would rather not have to push out another Caspol
script.

Thanks,
Craig Miles
cr***********@au.pwc.com
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
http://msdn.microsoft.com/msdnmag/is...s/default.aspx

http://msdn.microsoft.com/library/en...asp?frame=true

These should give you everything you need. You can actually run an MSI
installer to set up the permission sets, and you only need to do it once if
all your apps are signed with the same key.

-Rob Teixeira [MVP]

"Craig Miles" <kr*********@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl...
Hi,

I have a couple of small exes compiled using the same .snk file. These exes will be deployed to
the client machines using a "No Touch Deployment" scenario from a web
server.

We need to push a script out to the client machines to run Caspol to allow
the exes the relevant permissions they need.
Is there a way to use Caspol to tell a machine to trust all the exes that
were built using this .snk file?

ie If I add a new exe I would rather not have to push out another Caspol
script.

Thanks,
Craig Miles
cr***********@au.pwc.com

Nov 20 '05 #2

P: n/a
Thanks, those articles were a big help.

Is there any way around the issue Chris Sells raises about having to give
the site minimal execution rights in addition
to the permissions granted to assemblies with our public key?

Thanks,
Craig Miles

"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:eI*************@TK2MSFTNGP10.phx.gbl...
http://msdn.microsoft.com/msdnmag/is...s/default.aspx
http://msdn.microsoft.com/library/en...1122002.asp?fr
ame=true
These should give you everything you need. You can actually run an MSI
installer to set up the permission sets, and you only need to do it once if all your apps are signed with the same key.

-Rob Teixeira [MVP]

"Craig Miles" <kr*********@hotmail.com> wrote in message
news:Oo**************@TK2MSFTNGP11.phx.gbl...
Hi,

I have a couple of small exes compiled using the same .snk file. These

exes
will be deployed to
the client machines using a "No Touch Deployment" scenario from a web
server.

We need to push a script out to the client machines to run Caspol to allow the exes the relevant permissions they need.
Is there a way to use Caspol to tell a machine to trust all the exes that were built using this .snk file?

ie If I add a new exe I would rather not have to push out another Caspol
script.

Thanks,
Craig Miles
cr***********@au.pwc.com


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.