C#: windows application Caspol

I have a windows application.. which will run in a very restricted environment ... The windows app queries event logs and performance counters.. it requires these permission.. the log in account being restricted disallow access to event logs and performance logs... I cant make any changes to the windows application... i was looking for a was of giving the assembly rights to access event logs + performance counters.. Or at the worst put the assembly in full trust...

Answers


If I understand your question, the application is going to run under the credentials of an account that does not have permission to access the event log & perf counters. If that's the case, no matter what you do with CAS policy, the application will not do what you want.

CAS policy cannot grant rights that the account does not have - so even if the application has full trust, it will not get access to any objects that the account does not have permission for.


Need Your Help

Plist Error: String is Empty

php xml string plist syntax-error

I've created a PHP application to output a plist to bridge the gap between a database and an app.

Video-Streaming (hosting) for e-learning website

video youtube streaming media

I'm trying to figure out what would be the best way to fulfill following requirements for an e-learning platform.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.