suggests that
something may become more tempting precisely because access to it is forbidden or restricted.
When people want things more if they are forbidden, and in some way, they can't have them., the saying “Forbidden fruit is the sweetest” is appropriate.