Recently there have been several posts from Jobcasers dealing with job loss or the fear of being fired after taking a boss or co-worker into their confidence. In this era of social media it seems everyone is more and more open about their finances, relationships, political views, etc. But that is NOT wise --- and it is NOT healthy.
Guard your privacy. As you work alongside people it's natural to become friends with some. And that's great. Be cordial, be a friend, but always keep the relationship professional. Limit what you share and you'll be happier and better for it. So will your career.
Remember that -- first and foremost -- you are there to DO YOUR JOB.