{"id":7659,"date":"2009-12-29T17:22:13","date_gmt":"2009-12-29T17:22:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/force-login-except-special-ip-range\/"},"modified":"2009-12-30T20:12:20","modified_gmt":"2009-12-30T20:12:20","slug":"force-login-except-special-ip-range","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/force-login-except-special-ip-range\/","author":5655770,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"trunk","tested":"2.9.2","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"Force Login Except Special IP Range","header_author":"Franz Fuchsbauer <franz@fuchsbauer.at>","header_description":"","assets_banners_color":"","last_updated":"2009-12-30 20:12:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/force-login-except-special-ip-range\/","header_author_uri":"","rating":2.5,"author_block_rating":0,"active_installs":10,"downloads":2226,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[30626,6307,17734,1930],"plugin_category":[54],"plugin_contributors":[94124],"plugin_business_model":[],"class_list":["post-7659","plugin","type-plugin","status-closed","hentry","plugin_tags-force-user-login","plugin_tags-intranet","plugin_tags-ip-range","plugin_tags-password","plugin_category-security-and-spam-protection","plugin_contributors-ff","plugin_committers-frafu"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/force-login-except-special-ip-range.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Forces all anonymous users to login except the user connects from special IPv4 ranges or a specific IPv4 address. \nThis plugin was written to use wordpress in an intranet\/internet environment. Users who are connecting from the intranet\nshould see the blog without beeing forced to login. But users connection form the internet must log in to see the blog.\nAttention: Works only with IPv4! No IPv6 support!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>force_login_except_ip_range.php<\/code> and <code>allowed_ip_ranges.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Edit <code>allowed_ip_ranges.php<\/code> to add ip ranges to allow access without forcing the user to login.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I add an ip range to the allowed ranges?<\/dt>\n<dd><p>Edit <code>allowed_ip_ranges.php<\/code> and add a new line:\n $allowed_ip_ranges[]=\"STARTIP, STOP_IP\";\nexmple:\n$allowed_ip_ranges[]=\"192.168.100.0, 192.168.100.255\";<\/p><\/dd>\n<dt>How do I add only one sepecific IP address?<\/dt>\n<dd><p>Edit <code>allowed_ip_ranges.php<\/code> and add a new line:\n $allowed_ip_ranges[]=\"IP_ADDRESS\";\nexmple:\n$allowed_ip_ranges[]=\"192.168.100.44\";<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<p>Now it is written object oriented<\/p>\n\n<h4>0.1<\/h4>\n\n<p>initial version<\/p>","raw_excerpt":"Forces all anonymous users to login except the user connects from special ip ranges or a specific IP4 address.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7659"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/frafu"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7659"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7659"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7659"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7659"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7659"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}