Full article at http://www.codeproject.com/useritems/authcontentpart.asp

A SharePoint Portal Server Webpart that can publish content depending on a user’s authentication.

I haven't had a chance to try this out yet, but could be useful.