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.
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
You can block every IP address you want by using the file.
Offline
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).
Offline
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.
Offline
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?
Offline
Hi there,
Where Can i locate the .htaccess file and what do i have to type in to block an IP.
Cheers
Offline
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
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
Offline
Google for htaccess. You will find more information than you know what to do with.
Offline
Hi there TerryA,
Managed to get it sorted.. Thank you for the help
From
Offline