{"id":504,"date":"2019-11-15T15:13:59","date_gmt":"2019-11-15T15:13:59","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/security\/no-anonymous-users\/"},"modified":"2021-07-30T09:09:53","modified_gmt":"2021-07-30T09:09:53","slug":"noanonymoususers","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/security\/noanonymoususers","title":{"rendered":"Only named\/registered users should be allowed"},"content":{"rendered":"\n<p>When this rule is turned on, no anonymous users are allowed.<\/p>\n\n\n\n<p>For projects that do allow anonymous users, the violation can be whitelisted or the rule can be disabled once at the beginning of the project.<\/p>\n\n\n\n<p>For projects that do not allow anonymous users, this rule is a safeguard against a developer accidentally or unknowingly changes this important setting.<\/p>\n\n\n\n<p><strong>Noncompliant example:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-28.png\" alt=\"\" class=\"wp-image-917\" width=\"533\" height=\"297\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-28.png 533w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-28-480x267.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 533px, 100vw\" \/><\/figure>\n\n\n\n<p><strong>Compliant example:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-27.png\" alt=\"\" class=\"wp-image-916\" width=\"541\" height=\"238\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-27.png 541w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2020\/01\/image-27-480x212.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 541px, 100vw\" \/><\/figure>\n","protected":false},"featured_media":0,"parent":96,"menu_order":11,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-504","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/504"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=504"}],"version-history":[{"count":4,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/504\/revisions"}],"predecessor-version":[{"id":918,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/504\/revisions\/918"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/96"}],"next":[{"title":"Project security must be checked","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/security\/securitychecked","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/496"}],"prev":[{"title":"Only \"admin\" roles should manage other users","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/security\/adminsmanageusers","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/502"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=504"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}