Never give out personal information online
There is no need for someone to know your personal information online such as passwords, social security numbers or credit card numbers. Unless you are dealing with a secure and trusted source, you should never be discussing these types of things online and even more importantly, you should never give these types of things out.
Be careful with what you post online
The internet seems like it is a place where once you post something, it is most likely going to be safe. However, this is not the case and in many situations the internet can be cause of shame for many people based on what they have posted online. What I am talking about is that you should be careful with what you do and how you conduct yourself online. It may seem that no one but those who you are showing can see this, but you never know when this is going to come back and haunt you. Even on codex, I advise you all to be careful and post responsibly. Even though we are all friends, you never know what you may regret in the future.
I'm sure you have all heard of those stories where employers find pictures of a prospective hire on Facebook or MySpace and change their minds based on what they see (lewd drunkedness and other acts similar to it).
Always think before you act
I just covered two main principles of remaining safe online but the general rule of thumb to avoid any of these problems is to always think before you do anything. This is harder than it sounds and often times we shrug it off thinking that we do do it, but in the end we really do have to be careful.