This came up on Twitter, of all places: or at least the basic subject did. While idly looking up the subject I came across this video (via this), which looks pretty danged useful. Apparently people have had problems with securing their firearms in the bathroom, and this includes cops.
Seriously, some good info here.