Data hiding techniques have taken important role with the rapid growth of intensive
transfer of multimedia content and secret communications. Steganography is the art of
hiding information in ways that prevent detection. The Steganography used to transport information from one place to other place through public channel in covert way. Steganography hides the very existence of a message so that if successful it generally attracts no suspicion at all. Steganography means hiding a secret message (the embedded message) within a larger one (source cover) in such a way that an observer cannot detect the presence of contents of the the hidden message. Many different carrier file formats can be used, but digital images are the most popular because of their frequency on the Internet. So the attractive solution for this problem is Steganography, which is the art and science of writing hidden messages in such a way that no one, apart from the sender and intend recipient, suspects the existence of the message, a form of security through obscurity. The least significant bit (LSB) based approach is a popular type of steganographic algorithms in the spatial domain. The advantage of LSB is its simplicity to embed the bits of the message directly into the LSB plane of cover-image and many applications use this method. With the match of deflate compression algorithm we make this paper with the algorithm (LSB) for the steganography in terms of security and compression.