D
dbeavon
Guest
It looks like the program is only partially trusted and is restricting itself on its ability to read files. Normally this Code Access Security (CAS) is used for restricting third-party applications from doing untrusted things, *even* when they are running in the context of of an trusted executable that can do a lot more. I don't know that much about CAS except that I'm often in a position like you where I'm trying to *disable* it or circumvent it in some way. It is normally just a matter of reconfiguring the hosting application or the reconfiguring the Windows policy (see caspol.exe). Or moving the application off of a partially trusted location (eg. off of a network share). Here is a link that may give some more details. stackoverflow.com/.../is-code-access-security-of-any-real-world-use Is there a team at your company that is *deliberately* trying to restrict your application from accessing files? It might be better to work with them before trying to subvert their restrictions. Otherwise could you could test your app by moving the program files? Are they on a network share or something?
Continue reading...
Continue reading...