With respect to short term rentals in particular, outright bans are the easiest and most effective policy. Some cities allow for 30 days of short-term renting as long as the unit is a primary residence for the property owner for the other 335 days of the year. I think that's a fair compromise that achieves the ostensible goal of the "sharing economy" without hotel-ifying the entire city's housing stock.