Search DominoPower's 11,437 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Using dynamically generated HTML to thwart spam email address harvesting (continued)

The function above takes three arguments when called: the three components of every email address (i.e., username, domain name, and top level domain name.) The first line defines the function name, you should change this if you're going to use it in a production environment. The next two lines point the script to the location of your "@" and "." image files. Lines 3-7 are used to put the string "mailto:" into the "cmd" variable in such a way that it would be difficult for a harvester to guess that it was hiding a mailto link. Line 8 adds the username to the string.

Line 9 adds "%40" to the string. This is the html character-set equivalent of "@", real browsers will interpret this as an "@" symbol; most harvesters will not. Lines 10 and 11 add the domain, the "." and the top-level domain name to the string. Line 12 ends the function by wrapping the code necessary to make an HTML link around our string, creating an image-based visible email address and returning the entire concoction to the calling function.

Using the code
To test, place the createAd function in the JS Header element of a Domino form or page, or in the head section of a standard HTML page. Next, somewhere in the main body of the Web page, include the following line:

<script language="JavaScript"> document.write(createAd('myuser','domain','com')) </script>

Replace the strings for the user name, domain and top level domain names in each instance with the values of the email address you want returned. If you use a computed text element for this, you can have each of the 3 variables computed whenever the page or form is opened.

If you use all of the techniques I have described in concert, you will be amazed at how little spam reaches your primary email accounts--assuming those accounts are not already out in circulation. This is much easier to achieve with new email addresses then those that are already known to spammers.

I'm working on a future article about how to block spam that's already making its way to your Domino servers.

Product availability and resources
To read the Washington Post report on spam, visit http://www.washingtonpost.com/ac2/wp-dyn/A17754-2003Mar12.
Daniel Koffler works as a Domino consultant for major organizations in North America and Europe, specializing in network design, security analysis and knowledge management, he is also the author of several OpenSource projects.


« Previous  ·  1  ·  2  ·  3
Other articles you might like
Home > Strategies > Email Management (60 articles)
   Using the Notes Client with Gmail
   Using the Notes client with Hotmail (or not)
   Is English-only a viable mail management strategy?
Home > Internet Technologies > JavaScript (13 articles)
   Sorting your Domino views with JavaScript
   Give your Domino views life with DHTML
   Implementing dynamic drop-down menus using Domino and Internet Explorer
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
Adding Quick Highlighter support to IBM Lotus Notes Domino Wiki, Weblog, or Webpage
Remember Young Admins...there are 2 files
WebSphere Portal 6.1.0.2 and Lotus Domino 8.5
The CKEditor - with Domino
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login