The LDS Church teaches its members to obey the law of chastity, which is a code of morality and modesty. Under this code, all members are taught to be "morally clean in their thoughts, words, and actions" and to abstain from pornography.
The LDS Church instructs its members on the importance of following the law of chastity, which includes moral integrity and modesty. This code mandates that all members should maintain "moral purity in their thoughts, words, and actions," and avoid exposure to pornography.