rspec/rules/S1466/flex/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

41 lines
736 B
Plaintext

== Why is this an issue?
The Security.exactSettings value should remain set at the default value of true. Setting this value to false could make the SWF vulnerable to cross-domain attacks.
=== Noncompliant code example
[source,flex]
----
Security.exactSettings = false;
----
=== Compliant solution
[source,flex]
----
Security.exactSettings = true;
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Set flash.system.Security.exactSettings to true
'''
== Comments And Links
(visible only on this page)
=== on 22 Nov 2013, 11:00:05 Freddy Mallet wrote:
Is implemented by \http://jira.codehaus.org/browse/SONARPLUGINS-3277
endif::env-github,rspecator-view[]