In QSDC systems, the message is transmitted directly without being encrypted by a secret key. It is safer than the methods based on exchanging a key between the sender and the receiver. Different techniques for security checks were devised to detect eavesdropping before data transmission. We have modeled these systems using Matlab and using linear optical devices.