You have to publish your work to make yourself protected.
Undisclosed prior art is not a defense in first to fiel systems
Undisclosed prior art is not a defense in first to fiel systems
The difference between one of these and a patent is best summed up by one of my favorite Terry Pratchett quotes: "It's the difference between using a feather and using a chicken."
However, the House version of the reform bill expands the defense to cover all types of claims; thus if it survives reconciliation with the Senate bill it will likely become a viable defense.