Something that acts to discourage (9)
I believe the answer is:
deterrent
(Other definitions for deterrent that I've seen before include "Tending to put off" , "It discourages someone from doing something" , "Something that puts people off" , "It restrains" , "Something designed to be off-putting" .)