The prohibitions set forth in this chapter shall not apply to persons who are exempt from concealed weapons prohibitions under state or federal law or to any duly authorized local, state or federal law enforcement officer while on duty. The prohibitions set forth in this chapter shall not apply to highways or public highways owned or administered by the town.