PC Review


Reply
Thread Tools Rate Thread

Check permissions where the files are excuted

 
 
Mikael Syska
Guest
Posts: n/a
 
      11th Feb 2005
Hi,

Any one got a Example where I can test if i'm allow to run my program
and print a message to the user if there are incifient permissions on
the path were its executed? So I dont get a .NET error when its on a UNC
path! but so I can make my own errors and try to guess what wrong, and
give the user a more helping error message....

Its the System.Web.Mail; I'm tryin to use....

Well, just ask if you need more information!

kind regards
Mikael Syska
 
Reply With Quote
 
 
 
 
Mohamoss
Guest
Posts: n/a
 
      11th Feb 2005
Hi Mikael
There is the Cospol tool ( code access policy ) that is part of the
framework utilities , you can use to configure permission sets as well as
check permission equipments

http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions set on Word files differ from other permissions Kurt Microsoft Word Document Management 0 12th Mar 2010 04:41 PM
Code being stepped over, not excuted Jason Microsoft C# .NET 5 21st Jul 2009 04:52 PM
Files without inherited permissions always deletable despite object specific permissions? WakA Microsoft Windows 2000 Security 10 12th Mar 2005 02:14 AM
Prevent the second instance of application be excuted A.M Microsoft C# .NET 2 21st Sep 2004 09:56 PM
How do I check the available permissions Arun Microsoft Dot NET Framework 0 18th Sep 2003 04:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.