Some part of WebCore::Settings are not exposed in the API. Among them is isWebSecurityEnabled()/setWebSecurityEnabled() which was requested on webkit-help, see: http://lists.macosforge.org/pipermail/webkit-help/2009-September/000301.html http://lists.macosforge.org/pipermail/webkit-help/2009-October/000312.html
*** This bug has been marked as a duplicate of bug 45436 ***