It's not done with passwords. It works by eliminating certain user groups (by number) to a a specific forum you want to keep invisable to the other user groups.
Like I said.. It's not done by Passwords at all.. If I remember correctly.. it's a quite smple hack... but above my knowledge..LOL