Blog 4 Jordan Day

Visitor of the day


  • You
    from

Brag Stats

  • Comments:25,004
  • Articles:2,000
  • Article Hits:12,459,805
  • Unique Visitors:2,000,438
  • Rss Subscribers:3,052
  • Comment Subscribers:2,530
  • Spammers:136,315
  • Generated :757,671 spams
  • Monitoring:3,942,477 spam IPs
Powered by Qwaider Shield

Recent Comments

Check out the latest pictures on Sweetestmemories

« Crazy women: #3 ListeningPreviewing: Iron Man (2008) »

No more collisions!


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

    Rated 4.6/5 stars (33 votes cast)

    Ahhhh!

    Ever since I added the comment RSS capabilities to this blog, I've had a single persistent problem. Name collisions! There are at least 4 people named Khaled, 16 Mona, 25 Rasha, and 3000 Mohammads! So it's completely crazy to differentiate between different users based on name. I gave up on that long time ago. But didn't have a chance to think of a solution!

    The only unique thing appears to be the comment owner's email address. BUT there's a HUGE privacy issue there. I CAN'T expose people's emails. Not even for the tiniest of moments! Otherwise everyone will be spammed witless!

    ... So here's a little trick that saved the day!

    What would happen if you generate a GUID (Globally Unique Identity) for every Email? Keep a list in my database that no one has access to and use that instead!

    Only my database knows the email associated with every GUID. So that means, the Emails remain hidden from Spam-bots  while providing a way for people to reference thier own RSS comments.

    And the change is live! You can try it now, just click on the RSS icon next to your name!

    For the 3421 people subscribed to user RSS comments, the old collision laden name based RSS is still working, since I didn't want to interrupt the service for anyone.

    FAQ:

    • Why didn't I Use MD5 hash?
      For some weird reason, the database MD5 hash was a little different than that generated in the code so it resulted in mismatches.
    • How secure are GUIDs?
      For all practical purposes, they're not that secure. However, since these are unique, randomly generated 36 byte long strings. So the emails are relatively far from the prying eyes of spam bots
    • Why not Base64 the string to make it shorter
      Meh! Either way, they're going to be copied and pasted!
    • Does this work with FireFox, Opera, Google Reader ...etc?
      As far as I know, yes, please report any bugs to me

    Enjoy the more secure RSS feeds with GUIDS :)

    (I should patent this or something!)

    Other Memories Documented on April 29
    « Crazy women: #3 ListeningPreviewing: Iron Man (2008) »

    Memories....

    Neat!
    You know, maintaining your privacy is one of my top priorities!
    Do you have some algorithm that blocks posts with the same title from QP ?
    Yes :)
    Nice!
    I am encountering a similar problem as this for a research project of mine. Maybe we should chat sometime :-)
    You too can have your Memories Documented

    Country:

    HTML has been disabled but if you wish to add any hyprlinks or text formating you can use any of the following codes: [B]bold text[/B], [I]italic text[/I], [U]underlined text[/U], [S]strike through text[/S], [URL]http://www.yourlink.com[/URL], [URL=http//www.yourlink.com]your text[/URL]

    Whisper (your comment will not be displayed)

    Please refer to Commenting policy


    Notify me of follow-up comments by email
    « Crazy women: #3 ListeningPreviewing: Iron Man (2008) »
    Read by:
  • Guests(4)-
  • |
  • Guest-
  • |
  • Guest-
  • |
  • Guests(3)-
  • |
  • Guests(6)-
  • |
  • Guest-
  • |
  • Guests(59)-
  • |
  • أميرة-
  • |
  • Guests(237)-
  • |
  • Guests(3)-
  • |
  • Guests(358)-
  • |
  • ياسمين حميد-
  • |
  • Guest-
  • |
  • Guests(6)-
  • |
  • Guests(10)-
  • |
  • Guests(2)-
  • |
  • Guests(209)-
  • |
  • Guests(56)-
  • |
  • Guests(10)-
  • |
  • Guests(14)-
  • |
  • Guests(2)-
  • |
  • Guests(5)-
  • |
  • Guests(4)-
  • |
  • Guests(10)-
  • |
  • Guests(10)-
  • |
  • Hani Obaid-
  • |
  • Khaled-
  • |
  • Maher-
  • |
  • Nada-
  • |
  • Princess N-
  • |
  • Tamara-
  • |
  • whisper-
  • |
  • Guests(27)-
  • |
  • Guests(7)-
  • |
  • Guests(2)-
  • |
  • Guests(3)-
  • |
  • Mona-
  • |
  • Guest-
  • |
  • Guest-
  • |
  • Guests(95)-
  • |
  • Guests(4)-
  • |
  • Guest-
  • |
  • Guest-
  • |
  • Guest-
  • |
  • Guests(15)-
  • |
  • Guests(3)-
  • |
  • Guests(106)-
  • |
  • Guests(16)-
  • |
  • Guests(52)-
  • |
  • Guest-
  • |
  • starwish-
  • |
  • Guests(11)-
  • |
  • Guests(5)-
  • |
  • Guests(2)-
  • |
  • Guest-
  • |
  • Guests(10)-
  • |
  • Guests(39)-
  • |
  • 4 gotton-
  • |
  • Faisal-
  • |
  • Fire-Faten-
  • |
  • Guests(3240)-
  • |
  • hamede-
  • |
  • hatem abunimeh-
  • |
  • Maioush-
  • |
  • Mohanned-
  • |
  • nido-
  • |
  • nobody-
  • |
  • لولو-
  • |
  • za3tar-
  • |
  • Guests(6)-
  • |
  • Guests(7)-