The e-books available on reputable free download sites are legal and often fall under the public domain or have been released with the author's permission.