Security Tokens

In one of his posts elsewhere, Brett published some code needed to correct the security token problem in pre 1.7 plugins.He specified to bring it up in this group for discussion. I'd like for someone to explain to a relative dummy where to insert this code? Or is it even possible for a user to modify and/or correct someone else's plugin?