Welcome Guest Search | Active Topics | Sign In | Register

System Security Permissions Options
sc
Posted: Friday, August 19, 2011 3:03:04 AM
Rank: Newbie
Groups: Member

Joined: 8/15/2011
Posts: 4
Hi,

I cannot use your product at all on my hosted webserver, because every time I attempt to generate a PDF, it throws a System.Security.Permissions.SecurityPermission Exception. Why does this happen. I highly doubt that my hosting company will give my website a Full or High trust level, purely because it is insecure to do so. Why can your product not read or write to files when I can write normal C# code that reads and writes to the same folder just fine?

If I had known this, then I would not have purchased your PDF converter, it has now set my my project back for 3 days already.

Please advise.
eo_support
Posted: Friday, August 19, 2011 7:42:39 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Sorry to hear that. You probably want to consider switching to a host company that gives you full trust. Most hosting companies give you full trust even on shared hosting environment. What they do is to give you full trust on your .NET application, but restricts the permission of the account that your app runs so that you won't be able to touch other user's file.

The reason that EO.Pdf needs full trust is because it needs to call into Windows API. For example, font data are embedded in PDF file. So it must call Windows API to retrieve font data. As far as we know, all quality third party PDF converter/components require full trust.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.