<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - IP restrictions]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/21707/"/>
	<updated>2009-06-10T06:25:09Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/21707/ip-restrictions/</id>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128415/#p128415"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>sirena wrote:</cite><blockquote><div class="quotebox"><cite>m4rk0 wrote:</cite><blockquote><p>My primary idea was that when I use punbb on my ISP website, I want that only specified IP class /24 or something like that have access to some let&#039;s say &quot;Admin Notifications&quot; forum... Other IPs can&#039;t see that forum... Etc...</p></blockquote></div><p>Probably simpler to just control that directly via the conventional user group permissions settings per forum that you can already set via the Pun control panel - ie &#039;make the Admin Notifications&#039; forum only viewable by users who are members of the group &#039;ISP Users&#039;, not Guest users. Etc</p></blockquote></div><p>It&#039;s almost impossible to control bunch of users old and new registred...</p>]]></content>
			<author>
				<name><![CDATA[m4rk0]]></name>
				<uri>http://punbb.informer.com/forums/user/15556/</uri>
			</author>
			<updated>2009-06-10T06:25:09Z</updated>
			<id>http://punbb.informer.com/forums/post/128415/#p128415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128414/#p128414"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>m4rk0 wrote:</cite><blockquote><p>My primary idea was that when I use punbb on my ISP website, I want that only specified IP class /24 or something like that have access to some let&#039;s say &quot;Admin Notifications&quot; forum... Other IPs can&#039;t see that forum... Etc...</p></blockquote></div><p>Probably simpler to just control that directly via the conventional user group permissions settings per forum that you can already set via the Pun control panel - ie &#039;make the Admin Notifications&#039; forum only viewable by users who are members of the group &#039;ISP Users&#039;, not Guest users. Etc</p>]]></content>
			<author>
				<name><![CDATA[sirena]]></name>
				<uri>http://punbb.informer.com/forums/user/6921/</uri>
			</author>
			<updated>2009-06-10T01:17:15Z</updated>
			<id>http://punbb.informer.com/forums/post/128414/#p128414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128412/#p128412"/>
			<content type="html"><![CDATA[<p>I don&#039;t want to restrict access to whole forum, just to few specified categories on my forum...</p>]]></content>
			<author>
				<name><![CDATA[m4rk0]]></name>
				<uri>http://punbb.informer.com/forums/user/15556/</uri>
			</author>
			<updated>2009-06-09T21:21:19Z</updated>
			<id>http://punbb.informer.com/forums/post/128412/#p128412</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128411/#p128411"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>pepak wrote:</cite><blockquote><p>You could add an IP-checking function to the start of every file in <strong>/admin</strong>, either by direct editing or (better) through an extension.</p></blockquote></div><p>That check could also be done simply in the common file which is always included by every admin file.</p>]]></content>
			<author>
				<name><![CDATA[MattF]]></name>
				<uri>http://punbb.informer.com/forums/user/9938/</uri>
			</author>
			<updated>2009-06-09T21:10:17Z</updated>
			<id>http://punbb.informer.com/forums/post/128411/#p128411</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128410/#p128410"/>
			<content type="html"><![CDATA[<p>The same could be done for other files, with the right check. The principle is always the same:</p><p>1) Find the file which you want to modify<br />2) Find the appropriate hook<br />3) Modify that hook in your extension</p>]]></content>
			<author>
				<name><![CDATA[pepak]]></name>
				<uri>http://punbb.informer.com/forums/user/14781/</uri>
			</author>
			<updated>2009-06-09T21:02:51Z</updated>
			<id>http://punbb.informer.com/forums/post/128410/#p128410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128409/#p128409"/>
			<content type="html"><![CDATA[<p>You could add an IP-checking function to the start of every file in <strong>/admin</strong>, either by direct editing or (better) through an extension. All files that I checked have a hook right at the beginning (e.g. <strong>afo_start</strong> for <strong>/admin/forums.php</strong>). You could check if $_SERVER[&#039;REMOTE_ADDR&#039;] satisfies your rules and if not, end with </p><div class="codebox"><pre><code>message(&#039;Administration denied from your IP address&#039;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pepak]]></name>
				<uri>http://punbb.informer.com/forums/user/14781/</uri>
			</author>
			<updated>2009-06-09T21:01:03Z</updated>
			<id>http://punbb.informer.com/forums/post/128409/#p128409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128405/#p128405"/>
			<content type="html"><![CDATA[<p>My primary idea was that when I use punbb on my ISP website, I want that only specified IP class /24 or something like that have access to some let&#039;s say &quot;Admin Notifications&quot; forum... Other IPs can&#039;t see that forum... Etc...</p>]]></content>
			<author>
				<name><![CDATA[m4rk0]]></name>
				<uri>http://punbb.informer.com/forums/user/15556/</uri>
			</author>
			<updated>2009-06-09T17:01:22Z</updated>
			<id>http://punbb.informer.com/forums/post/128405/#p128405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128400/#p128400"/>
			<content type="html"><![CDATA[<p>mmm ok, so there is no way possible to detect who has multiple.</p><p>and will that method can detect the people who have static ip.</p>]]></content>
			<author>
				<name><![CDATA[SuperMAG]]></name>
				<uri>http://punbb.informer.com/forums/user/10009/</uri>
			</author>
			<updated>2009-06-09T15:28:35Z</updated>
			<id>http://punbb.informer.com/forums/post/128400/#p128400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128395/#p128395"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>SuperMAG wrote:</cite><blockquote><p>mmm i was looking for ip user detection thing, to see if one user have mutiple accounts. i mean some people make 10 accounts.</p></blockquote></div><p>Unless they are on a static I.P, I.P address detection methods to prevent multiple registrations, (or for most other scenarios, for that matter), will be a complete waste of time. Unless one has strict control of whom connects and how, I.P methods are fairly useless. An I.P can change in the blink of an eye.</p>]]></content>
			<author>
				<name><![CDATA[MattF]]></name>
				<uri>http://punbb.informer.com/forums/user/9938/</uri>
			</author>
			<updated>2009-06-09T12:25:23Z</updated>
			<id>http://punbb.informer.com/forums/post/128395/#p128395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128393/#p128393"/>
			<content type="html"><![CDATA[<p>mmm i was looking for ip user detection thing, to see if one user have mutiple accounts. i mean some people make 10 accounts.</p>]]></content>
			<author>
				<name><![CDATA[SuperMAG]]></name>
				<uri>http://punbb.informer.com/forums/user/10009/</uri>
			</author>
			<updated>2009-06-09T12:08:18Z</updated>
			<id>http://punbb.informer.com/forums/post/128393/#p128393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128388/#p128388"/>
			<content type="html"><![CDATA[<p>that is an good idea</p>]]></content>
			<author>
				<name><![CDATA[kevin123]]></name>
				<uri>http://punbb.informer.com/forums/user/15610/</uri>
			</author>
			<updated>2009-06-09T06:31:20Z</updated>
			<id>http://punbb.informer.com/forums/post/128388/#p128388</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[IP restrictions]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128073/#p128073"/>
			<content type="html"><![CDATA[<p>Hello,</p><p>Can You add restrictions per IP class/range to specified forums?</p>]]></content>
			<author>
				<name><![CDATA[m4rk0]]></name>
				<uri>http://punbb.informer.com/forums/user/15556/</uri>
			</author>
			<updated>2009-05-30T17:01:08Z</updated>
			<id>http://punbb.informer.com/forums/post/128073/#p128073</id>
		</entry>
</feed>
