473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

.NET Security exception (???)

Hi,

I am writing an Obfuscator to Obfuscate managed .NET assemblies, the
obfuscator works with most of the assemblies I have tried, how ever, some
assemblies ( such as nunit-gui.exe ) generate the following exception ( Only
with the obfuscated assemblies ) :
“Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.”
I have verified that no special security attributes are set for any of the
methods/classes/assemblies using Reflector.exe ( a .NET decompiler ), I have
also verified that the .NET Framework is configured to ‘Trust full’, Still,
the problem persist, I have really no idea what may cause this…

Any Help, Ideas or pointers would be appreciated…

--
Nadav
http://www.ddevel.com
Nov 16 '05 #1
1 1942
Another thing, Browsing the stack-trace of the exception I can see that the
exception is somehow related to remoting:
=>
mscorlib.dll!System.Runtime.Remoting.Proxies.RealP roxy.PrivateInvoke(System.Runtime.Remoting.Proxies .MessageData
msgData = {System.Runtime.Remoting.Proxies.MessageData}, int type = 0x1) +
0x441 bytes

"Nadav" wrote:
Hi,

I am writing an Obfuscator to Obfuscate managed .NET assemblies, the
obfuscator works with most of the assemblies I have tried, how ever, some
assemblies ( such as nunit-gui.exe ) generate the following exception ( Only
with the obfuscated assemblies ) :
“Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.”
I have verified that no special security attributes are set for any of the
methods/classes/assemblies using Reflector.exe ( a .NET decompiler ), I have
also verified that the .NET Framework is configured to ‘Trust full’, Still,
the problem persist, I have really no idea what may cause this…

Any Help, Ideas or pointers would be appreciated…

--
Nadav
http://www.ddevel.com

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
0
by: Carl Gilbert | last post by:
Hi I am trying to get an online gallery to work (www.ngallery.org). I have managed to get it all working on my local host but I can not get it to work on my web space. The site can be found...
2
by: KaNos | last post by:
Hello world, I've made a webservice (c# v2) to install in a server IIS 6 on a Windows 2000 last SP. We can use the webservice in local, throw the pages wich present the methods, with a windows...
2
by: KaNos | last post by:
Hello world, I've made a webservice (c# v2) to install in a server IIS 6 on a Windows 2000 last SP. We can use the webservice in local, throw the pages wich present the methods, with a windows...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.