TheLearnedOne,
Here is what the guy told me about the assembly:
We have use an open-source .NET based .dll that creates PDFs. It uses GDI+ calls, and one in particular that needs full trust is the Graphics.FromHwnd() call. We have been running this dll on other custom-hosted websites for years and it has never caused a problem. I am familiar with the source code and can vouch for it. If you want, I can provide you portions of the source code. I believe that simply adding this dll to the web server's GAC would be a sufficient way to run it, and that way you could maintain a medium trust execution context for the rest of your websites.
It sounds legit, but I still have some ideological problems about doing something like this in a shared hosting environment. If was on a VPS, dedicated, or maybe even a semi-dedicated server, then I wouldn't have a problem at all. But for a small hosting account, it seems like too much of a risk. But, I don't really understand this area of .NET very well, so I don't really know how to evaluate it.
Your thoughts are welcome. Thanks.
Main Topics
Browse All Topics





by: TheLearnedOnePosted on 2009-03-06 at 16:42:02ID: 23822529
ASP.NET by its very nature is partially trusted. That is a great security model, but adds complexity to configuring the assemblies. What kind of assemblies are you talking about?