You could set up a db table containing banned addresses and check IP's against it at login, deny login if the ip is in your banned ip table.
-----Original Message----- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: 06 February 2002 13:32 To: CF-Talk Subject: there must be a better way... Wednesday, February 06, 2002, 8:23:41 AM Hello everyone, I have a site with a simple forum. A situation has developed where I need to ban a few users from posting. Since this was never intended for much, there is no sign in feature to establish users so I'm just going to deny their IP's. It is working fine, lucky for me they seem to have static IP addresses and don't know enough to get around this. But, is there a more elegant way of achieving the following: (ips masked to protect the guilty) <CFIF cgi.remote_addr is "66.xx.xx.xx" or cgi.remote_addr is "66.xx.xx.xx" or cgi.remote_addr is "24.xx.xx.xx" or cgi.remote_addr is "198.xx.xx.xx"> If I had to ban many users, this could get messy! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

