Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 12-13-2003 00:26:46

mikejf
Member
Registered: 11-12-2003
Posts: 25

Need To Black List Customer


Hi

I need to stop a particular customer from using my site. Is there any way to create a stop within cpp5 with a modification. This may seem strange but I have a very difficult customer who I have already blocked via IP but hes gone to an internet cafe and accessed there.

We have a thriving business but this guy makes an order then immediatley complains to the payment provider before order arrives or goods are received.
Any ideas appreciated.

Regards

mikejf

Offline

 

#2 12-13-2003 09:04:58

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: Need To Black List Customer

You can block every IP address you want by using the  file.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#3 12-13-2003 09:51:20

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Need To Black List Customer

That's the easiest, most effective way to do it.  Here's a sample you can put in your web root directory (this is the entire contents of the file):

Deny from 192.168.0.1

(Replace the IP with the IP of the user you're trying to ban).


Nick Hendler

Offline

 

#4 12-14-2003 17:39:27

WayneK
Member
Registered: 08-17-2003
Posts: 256
Website

Re: Need To Black List Customer

If he moves around to different computers then banning by IP will not work very well.

Does he use the same credit card number?

Perhaps in the routine that processes the CC card you can look for that number and then do something.


- Wayne
<-- Witty Clever Phrase Goes Here -->

Offline

 

#5 12-19-2003 12:28:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Need To Black List Customer

This is true - especially if they come in through a proxy server where the IP changes.  The problem is that the IP is the only true measure of who you are.  I guess we could do something with cookies - how can you identify the user?


Nick Hendler

Offline

 

#6 02-07-2005 08:06:02

myfunkyshop
Member
From: I Live In The Computer
Registered: 12-28-2004
Posts: 152
Website

Re: Need To Black List Customer

Hi there,

Where Can i locate the .htaccess file and what do i have to type in to block an IP.

Cheers


Miss George Clooney



Offline

 

#7 02-07-2005 13:27:06

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: Need To Black List Customer

webmaster,12/13/2003 09:51:20 AM wrote:

That's the easiest, most effective way to do it.  Here's a sample you can put in your web root directory (this is the entire contents of the file):

Deny from 192.168.0.1

(Replace the IP with the IP of the user you're trying to ban).

As Nick stated in this quote, your .htaccess file should have the following in it:

Deny from 192.168.0.1

(Replace the IP with the IP of the user you're trying to ban).

You can find the .htaccess file in your root html directory and may have to set your FTP program to view hidden files.  On some FTP programs, you can  type -la in a small window to make it view the hidden files.  Depends on your FTP program.  Look in the help file for the program you are using.

Offline

 

#8 02-07-2005 13:42:30

myfunkyshop
Member
From: I Live In The Computer
Registered: 12-28-2004
Posts: 152
Website

Re: Need To Black List Customer

Hi there,

Not to sound too THICK... But i don't have one in the actual ccp51 file but there is a .htaccess file in data is that the one i have to edit???

Cheers


Miss George Clooney



Offline

 

#9 02-07-2005 20:10:36

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: Need To Black List Customer

Google for htaccess.  You will find more information than you know what to do with.

Offline

 

#10 02-08-2005 10:58:40

myfunkyshop
Member
From: I Live In The Computer
Registered: 12-28-2004
Posts: 152
Website

Re: Need To Black List Customer

Hi there TerryA,

Managed to get it sorted.. Thank you for the help

From


Miss George Clooney



Offline

 

Board footer