A company cannot prevent their shares to be shorted, but you as the owner of shares can tell your broker not to lend them to others for shorting.
But this is actually not in your best interest. Shorting is a crucial part of efficient markets and those holding shorts are usually the only buyers left in a market when the price starts sliding and everybody else wants to sell.