HighTechTalks DotNet Forums  

Code Security Question

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Code Security Question in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
dbuskirk
 
Posts: n/a

Default Code Security Question - 07-01-2007 , 11:38 AM






Is it possible to create a new code group based on path?

For example, the default gives full trust to local programs. Is it possible
to retain full trust for, sy, C:\Program Files while
placing limitations on programs loaded into a user's MyDocuments folder?

dan buskirk



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Reply With Quote
  #2  
Old   
sam.j.moorhouse@gmail.com
 
Posts: n/a

Default Re: Code Security Question - 07-27-2007 , 01:56 PM






It certainly is. You can use the URL-type path with a 'file:///'
prefix:

c:\>caspol -q -machine -addgroup 1 -url file://c:/progra~1/* FullTrust
#or something

then restrict the trust for my documents in a similar manner.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.