These systems seek to discourage attack by arranging for it not to be in anyone's interest to attack, or better, for it to be against the interests of those with the opportunity. On this topic, we can be badly mislead by our intuitions of the real world. One cannot punish an object by jailing it. Much of the world works by polite request, or admonition , and the decent willingness of others to often abide by these admonitions, even when there are no consequences for violation. Often, you can get someone to avoid endangering you just by asking them.
Software can help.
Deterrence and admonition blend into each other. If someone repeatedly violates my admonitions, I may eventually find out and stop dealing with them. This prospect can deter violation. However, the engineering issues of supporting deterrence vs admonition are quite different, and they are usefully distinguished. Admonitions systems seek only to catch accidental violation of requests one does intend to abide by.