Plugins - CipherMail

StarAdd to favorites

CipherMail

CipherMail provides a safe alternative to the mail_to helper by hiding mailto links from e-mail harvesting bots. The generated output is completely obfuscated by a 1024 bit random key. They keyword is stored on the server, so it is never revealed to the client. Processing is performed on the server-side via an AJAX request and the decrypted redirect is returned to the client, opening a mail composer window… just like normal mailto link.

Usage:

  <%= ciphermail_to "John Smith", "someone@somedomain.com" %>

Note: A new key is generated every time you restart your web-server.

      If you'd like to manually generate a new key, simply run:
      ruby ./script/runner "CipherMailSetup.genkey"

That’s it! Have fun, and feel free to send me questions or comments.

Copyright © 2007 Michael Behan aka "JabberWock" (jabberwock /AT tenebrous /DOT com) Released under the BSD license

Jabberwock

svn://rails.bleedingtrends.com/

svn://rails.bleedingtrends.com/cipher_mail

BSD

  • Currently 4.9/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Security

Tags

Comments

Add a comment
jc 30 Mar 2008

seems the rails.bleedingtrends.com site has disappeared. ive googled but cannot find this repository or code anywhere else. any place i can still find it?

Jabberwock 3 Oct 2007

Thank you both for your feedback :) It is always appreciated!

Felipe Giotto 1 Oct 2007

Good post, very easy to use, and not so easy to break! Thanks! I'll store this in my recommended plugins list!

andrew 24 Sep 2007

A little less convoluted, maybe? http://hivelogic.com/enkoder

I think both your solutions will fail when spammers start processing javascript or using something like: http://search.cpan.org/~abeltje/Win32-IE-Mechanize-0.009/lib/Win32/IE/Mechanize.pm#DESCRIPTION

blah, the battle rages on.

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?