I know that, but how is it any easier to update?
  ----- Original Message -----
  From: Samuel Neff
  To: CF-Talk
  Sent: Thursday, December 18, 2003 6:06 PM
  Subject: RE: Hiding an Email Address from harvesters

  hmm... a text file is just a list of IP's.  A cfm file is executable
  programming code.

  Sam

  -----Original Message-----
  From: Daniel Farmer [mailto:[EMAIL PROTECTED]
  Sent: Thursday, December 18, 2003 5:51 PM
  To: CF-Talk
  Subject: Re: Hiding an Email Address from harvesters

  How is a text file any easier to update than an application.cfm file?
    ----- Original Message -----
    From: Samuel Neff
    To: CF-Talk
    Sent: Thursday, December 18, 2003 5:47 PM
    Subject: RE: Hiding an Email Address from harvesters

    You can do it in your application.cfm file.  I did this on our blog
  recently
    to block blog spammers.  Just create a structure that has the blocked IP's
    in it (can cache in application scope if it's a big structure) and on each
    request check if structKeyExists(badIps, cgi.remote_addr) and if so abort.
    Can get fancy and read the list from a text file to make it easy to
  update.

    HTH,

    Sam
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to