I'm trying to replace a old homebrewed single threaded web server with a ASP.NET solution that will run on IIS. The old server does alot of weird stuff like access files outside it's path, do com calls, write to c: and much more. It does all of this from library writen in C++.
In the new application we want to use the same library so we will eventually have to figure out how to make the app secure. But for now I just want to get a prototype running on IIS so that we can prove that it will be a improvment over the existing solution.
The problem is that I'm getting security exception after security exception from .NET. I've got rid of some by doing:
caspol -machine -chggroup 1.5. FullTrust
caspol -s off
But I still can't run it. What I have to work with is:
- Windows 2003 Server
- IIS 6
- .NET 2.0
I can also add that everything works as expected on casini but we need to get it up on IIS to prove that it's worth investing time in doing the switch.
How can I disable all .NET security so that I can run the prototype?