The deep relationship between MDS codes and threshold schemes in cryptography is initially reported in this paper. We have found that by using the generator matrices or the parity check matrices of MDS codes, we can implement a new class of threshold systems in cryptography.