This is a migrated thread and some comments may be shown as answers.

[Solved] Security Exception partial trust

3 Answers 192 Views
Editor
This is a migrated thread and some comments may be shown as answers.
a.bek
Top achievements
Rank 1
a.bek asked on 15 Nov 2007, 07:54 PM
when adding an editor to a site that runs in medium trust u get a security exception

[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 16 Nov 2007, 01:53 PM
Hello,

Thank you for reporting this problem. Medium trust will be fixed in the next RadEditor "Prometheus" release. If you want to get an updated build earlier, please open a formal support ticket and we will send you a download link.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
SamVanity
Top achievements
Rank 2
answered on 19 Apr 2008, 03:45 AM
I'd like to inquire that if medium trust is indeed supported in the latest editor version. I remember you mentioned Reflection is used to render the editor, and i believe I cannot use reflection in such environment.
0
Lini
Telerik team
answered on 22 Apr 2008, 05:16 PM
Hi,

The Q1 2008 release of the editor works fine in Medium trust. We use System.Reflection only for basic things like getting the current executing assembly so we can work with embedded skins. This should not be a problem in Medium trust.

Currently, the only reported problem with the editor in Medium trust is that the new Image Editor dialog does not load (server exception). This will be fixed in the next service pack release.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
a.bek
Top achievements
Rank 1
Answers by
Lini
Telerik team
SamVanity
Top achievements
Rank 2
Share this question
or