http://law.onecle.com/california/business/16600.html
There do appear to be exceptions though. Can't speak to non-disclosure agreements.