City code states;
Sec. 9.06.010. - Discharge or concealment of weapons prohibited—Exceptions.
It is unlawful for any person, within the city limits of the city, to discharge or carry concealed upon his person any instrumentality which, by its design or use, is capable of inflicting death or serious bodily harm on himself or another, including but not limited to any slingshot, flipper, target bow, hunting bow, cross-bow, pistol, rifle, blow gun, dart gun, B-B gun, any similar contrivance capable of projecting missiles a horizontal distance of fifty feet or more, or any instrument loaded with gunpowder or other explosives; provided, however, the following activities shall be excepted from the foregoing provisions:
A. The discharge of slingshots, flippers, target bows, hunting bows, and cross-bows on real property owned by the party discharging the weapons, or on real property over which the party discharging the weapons has the right to possession, provided the projectiles discharged from the weapons remain upon the property which is owned by the party discharging the weapon or as to which the party discharging the weapon has the right to possession;
B. The discharge of any of the instrumentalities upon a range inspected and approved for such use by the mayor or his designated agent;
C. The discharge of any of the instrumentalities in self defense when legally allowed to do so;
D. The discharge of any of the instrumentalities by any peace officer while in the discharge of his duties;
E. The concealment of any of the instrumentalities by any person who has obtained a written permit or license or such specified use from the mayor or his designated agent or such other state or local official in accordance with the provisions of Section 76-10-513 of Utah Code Annotated, 1953; and
F. The discharge or concealment of the instrumentality set forth in this chapter where the discharge or concealment is otherwise permitted by law.