{"id":175,"date":"2004-04-09T23:05:07","date_gmt":"2004-04-09T23:05:07","guid":{"rendered":"http:\/\/fiveforks.com\/jeb\/2004\/04\/password_protec_1\/"},"modified":"2004-04-09T23:05:07","modified_gmt":"2004-04-09T23:05:07","slug":"password_protec_1","status":"publish","type":"post","link":"https:\/\/www.fiveforks.com\/jeb\/2004\/04\/password_protec_1\/","title":{"rendered":"Password Protect Comments"},"content":{"rendered":"<p>We&#8217;re getting spammed by blog-spammers. Today an offensive couple of spams were posted. Greg called me to let me know so I could quickly delete them.<\/p>\n<p>I&#8217;ll be introducing a counter measure shortly. This one seems reasonable.<\/p>\n<p><a href=\"http:\/\/www.freemoby.com\/A\/000059.html\">Free Moby<\/a><\/p>\n<p>Added to \/mt\/lib\/mt\/app\/comments.pm just above ip ban:<\/p>\n<p>my $entry_password = uc $q-&gt;param(&#8216;password&#8217;)<\/p>\n<p>or return $app-&gt;handle_error($app-&gt;translate(<\/p>\n<p>&#8220;Password is required.&#8221;));<\/p>\n<p>if ( $entry_password ne &#8220;PASSWORD1&#8221; &amp;&amp; $entry_password ne &#8220;PASSWORD2&#8221;) {<\/p>\n<p>return $app-&gt;handle_error($app-&gt;translate(<\/p>\n<p>&#8220;Password is incorrect.&#8221;));<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re getting spammed by blog-spammers. Today an offensive couple of spams were posted. Greg called me to let me know so I could quickly delete them. I&#8217;ll be introducing a counter measure shortly. This one seems reasonable. Free Moby Added &hellip; <a href=\"https:\/\/www.fiveforks.com\/jeb\/2004\/04\/password_protec_1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-blogs"],"_links":{"self":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":0,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fiveforks.com\/jeb\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}