36 references to Medium
System (1)
compmod\system\security\permissions\AspNetHostingPermission.cs (1)
71
case AspNetHostingPermissionLevel.
Medium
:
System.Web (35)
Configuration\WebConfigurationHost.cs (2)
342
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
375
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
ErrorFormatter.cs (6)
499
if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
961
!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
1656
if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
1714
if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
1746
if (HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
1762
HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
HttpRequest.cs (1)
2532
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
HttpResponse.cs (2)
1213
HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
2275
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
HttpRuntime.cs (1)
2367
[AspNetHostingPermission(SecurityAction.Demand, Level = AspNetHostingPermissionLevel.
Medium
)]
httpserverutility.cs (2)
868
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
914
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
IntSecurity.cs (1)
96
_levelMedium = new AspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
);
Management\WebEvents.cs (2)
471
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
477
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
Security\AuthStoreRoleProvider.cs (4)
163
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.API_not_supported_at_this_level);
194
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.API_not_supported_at_this_level);
259
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.API_not_supported_at_this_level);
314
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.API_not_supported_at_this_level);
State\SessionStateModule.cs (1)
252
return HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
);
UI\PageParser.cs (3)
367
if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
477
if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
625
if (!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
UI\PageParserFilter.cs (2)
21
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.
Medium
)]
22
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.
Medium
)]
UI\SimpleWebHandlerParser.cs (1)
311
!HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
UI\TemplateParser.cs (2)
1261
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.Debugging_not_supported_in_low_trust);
1905
if (flags[debug] && !HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
)) {
UI\WebParts\ImportCatalogPart.cs (1)
220
mediumPset.AddPermission(new AspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
));
UI\WebParts\WebPartManager.cs (1)
466
_mediumPermissionSet.AddPermission(new AspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
));
Util\SmtpMail.cs (2)
452
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
479
[AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.
Medium
)]
Util\Transactions.cs (1)
64
HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel.
Medium
, SR.Transaction_not_supported_in_low_trust);