FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Email Obfuscation Plugin (Obfuscates email addresses imported by mail gateway)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Email Obfuscation Plugin [message #168498] Sun, 12 May 2013 07:15 Go to previous message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: July 2012
Location: Oceanside
Karma:
Senior Member
When importing 10s of thousands of emails into a public forum, we thought it really important to obfuscate email addresses so that people who emailed a mailing list didn't get their email address displayed to the world. That's what this plugin does.

First it identifies email addresses using a pretty good regular expression. Then, each email address is obfuscated by replacing @ to " $RAN1 at $RAN2" and '.' to " $RAN1 dot $RAN2 " where $RAN1 and $RAN2 are a fixed number of random alphanumeric characters. The length of the alphanumeric characters can be specified in the plugin.

This does not modify the email addresses in the database, It just obfuscates them when they are published. When unpublished, the email id's would appear in their normal state.

This makes the obfuscation completely random to make it harder to scrape, but it allows a human to read it just fine if they want to take the time. Make sense?

Test it and let me know what you think?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adding References: header to mailing list emails
Next Topic: SEO url mods question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 21 13:01:09 GMT 2024

Total time taken to generate the page: 0.05106 seconds