<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001026" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001026</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004390</link>
    <description> &lt;p&gt;Whoops  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Honest mistake  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for pointing that out&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Patrick is my hero.&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Mar 2000 21:51:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004390 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004389</link>
    <description> &lt;p&gt;actually that wouldn&#039;t work  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;($num1,$num2,$num3,$num4)=split(/:/,$input);&lt;br /&gt;
would split the IP at a :. which they don&#039;t have  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;so just replace&lt;br /&gt;
($num1,$num2,$num3,$num4)=split(/:/,$input);&lt;/p&gt;
&lt;p&gt;with &lt;/p&gt;
&lt;p&gt;($num1,$num2,$num3,$num4)=split(/\./,$input);&lt;/p&gt;
&lt;p&gt;the \ is required because the . is a pattern matching symbol.&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Mar 2000 21:37:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004389 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004388</link>
    <description> &lt;p&gt;Thanks!!! I&#039;m going to test it right now  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;br /&gt;
I&#039;ll let you know...&lt;/p&gt;
&lt;p&gt;-----------------------&lt;br /&gt;
robp is my hero.&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Mar 2000 20:10:00 +0000</pubDate>
 <dc:creator>Mark444</dc:creator>
 <guid isPermaLink="false">comment 1004388 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004387</link>
    <description> &lt;p&gt;I understand the IP problem.  You could break down the IP , because usually the first 3 numbers are the same, so you could just look for those 3 numbers in the persons IP (If I am wrong, you could chang it to the first 2 numbers)&lt;/p&gt;
&lt;p&gt;So just replace some of the code above to this:&lt;br /&gt;
&lt;BLOCKQUOTE&gt;code:&lt;/blockquote&gt;&lt;/p&gt;
&lt;pre&gt;
#Checking
($num1,$num2,$num3,$num4)=split(/:/,$input);

if(defined $people{$accountname})
{	
	if($people{$accountname} !~ m/$num1.$num2.$num3.(.*)/sogi) {$people{$accountname} .= &quot;,$input&quot;}
}
[/code]

------------------
Patrick is my hero. &lt;/pre&gt;</description>
     <pubDate>Fri, 17 Mar 2000 15:14:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004387 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004386</link>
    <description> &lt;p&gt;Thanks guys for your replies  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;br /&gt;
Robp&#039;s solution would be great but...most of our users have dynamic IPs and if they connect to our site 3 times a day they will show 3 different IPs. European providers use to assign dynamic IPs: every modem connection with ur ISP gives you a different one.&lt;br /&gt;
The cookie idea could work even if it&#039;s not the best security solution.&lt;br /&gt;
A cookie for every page visited who allows the same account only 3-4 pageviews a day for any article page would work...but anyone knows how to implement it?&lt;br /&gt;
The site runs on a Discus board (discusware.com) and that sw is pretty hard to customize...&lt;br /&gt;
Hope you can help...thanks  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Mar 2000 11:31:00 +0000</pubDate>
 <dc:creator>Mark444</dc:creator>
 <guid isPermaLink="false">comment 1004386 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004384</link>
    <description> &lt;p&gt;I agree with Orpheus, try to add some code into the login script.&lt;/p&gt;
&lt;p&gt;Try somthing like this in your login script:&lt;br /&gt;
&lt;BLOCKQUOTE&gt;code:&lt;/blockquote&gt;&lt;/p&gt;
&lt;pre&gt;
$input = $ENV{&#039;REMOTE_ADDR&#039;};
$file= &#039;log.txt&#039;;
$accountname = &#039;rob&#039;; #or the variable the other script stores the username in (ie-$username)
#Opening file to get all the information
open(IN,&quot;$file&quot;);
@data = &amp;lt;IN&amp;gt;;
close(IN);
foreach $line (@data)
{
	chop $line;
	($account,$ips)=split(/:/,$line);
	$people{$account} = $ips;
}	

#Checking
if(defined $people{$accountname})
{
	if($people{$accountname} !~ m/$input/sogi) {$people{$accountname} .= &quot;,$input&quot;};
}
else 
{
	$people{$accountname} = &quot;,$input&quot;;
}		
	
	

#Printing info back into the file
open(IN,&quot;&amp;gt;$file&quot;);
foreach $account (sort keys %people) 
{
print IN &quot;$account:$people{$account}\n&quot;;
}
close(IN);
[/code]

So, what this will do is keep track of all the IP&#039;s used by a username.  Add that into where people login.  Just check it occasionally, and if you see that a certain login is using  10+ IP&#039;s, more than 1 person may be using that account. 

------------------
Patrick is my hero.

[This message has been edited by robp (edited 16 March 2000).] &lt;/pre&gt;</description>
     <pubDate>Fri, 17 Mar 2000 04:16:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004384 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004383</link>
    <description> &lt;p&gt;Restricting page views isn&#039;t the best idea. If I was only allowed 2 views a day on slashdot i&#039;d die  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I think you should do something with their IP addresses. Maybe put them in a small database that would record all the actions on their IP. &lt;/p&gt;
&lt;p&gt;That way if you suspected someone of trading acounts you could just look at the database.&lt;/p&gt;
 </description>
     <pubDate>Fri, 17 Mar 2000 01:09:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1004383 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/passwords-tradehow-can-i-stop-it#comment-1004382</link>
    <description> &lt;p&gt;one way to stop it is to set a cookie on them.  then if the cookie changes password or user name, both accounts r deleted.&lt;/p&gt;
&lt;p&gt;it still want stop someone from doing it, but it will just make it a little harder for them.&lt;/p&gt;
&lt;p&gt;good luck  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/wink.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;Thumbs up or down ratings of the best and worst ways to make $$$ on the net. &lt;a href=&quot;http://www.birminghamnet.com/search-engines/resources/webmaster_tools/&quot; class=&quot;bb-url&quot;&gt;CLICK 4 CASH!&lt;/a&gt; from Affiliate Programs and Ad Networks&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 16 Mar 2000 18:51:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1004382 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
