Exemplo n.º 1
0
 internal CspOptions()
 {
     Enabled = true;
     DefaultSrcDirective = new CspDirective();
     ScriptSrcDirective = new CspDirective();
     ObjectSrcDirective = new CspDirective();
     StyleSrcDirective = new CspDirective();
     ImgSrcDirective = new CspDirective();
     MediaSrcDirective = new CspDirective();
     FrameSrcDirective = new CspDirective();
     FontSrcDirective = new CspDirective();
     ConnectSrcDirective = new CspDirective();
     BaseUriDirective = new CspDirective();
     ChildSrcDirective = new CspDirective();
     FormActionDirective = new CspDirective();
     FrameAncestorsDirective = new CspDirective();
     PluginTypesDirective = new FluentCspPluginTypesDirective();
     SandboxDirective = new FluentCspSandboxDirective();
     ReportUriDirective = new CspReportUriDirective();
 }
Exemplo n.º 2
0
 internal CspOptions()
 {
     Enabled                 = true;
     DefaultSrcDirective     = new CspDirective();
     ScriptSrcDirective      = new CspDirective();
     ObjectSrcDirective      = new CspDirective();
     StyleSrcDirective       = new CspDirective();
     ImgSrcDirective         = new CspDirective();
     MediaSrcDirective       = new CspDirective();
     FrameSrcDirective       = new CspDirective();
     FontSrcDirective        = new CspDirective();
     ConnectSrcDirective     = new CspDirective();
     BaseUriDirective        = new CspDirective();
     ChildSrcDirective       = new CspDirective();
     FormActionDirective     = new CspDirective();
     FrameAncestorsDirective = new CspDirective();
     PluginTypesDirective    = new FluentCspPluginTypesDirective();
     SandboxDirective        = new FluentCspSandboxDirective();
     ReportUriDirective      = new CspReportUriDirective();
 }