The Secretary of the Interior shall make and publish such rules and regulations as he may deem necessary or proper for the use and management of the parks, monuments, and reservations under the jurisdiction of the National Park Service, and any violation of any of the rules and regulations authorized by this section and sections
1,
2, and
4 of this title shall be punished by a fine of not more than $500 or imprisonment for not exceeding six months, or both, and be adjudged to pay all cost of the proceedings. He may also, upon terms and conditions to be fixed by him, sell or dispose of timber in those cases where in his judgment the cutting of such timber is required in order to control the attacks of insects or diseases or otherwise conserve the scenery or the natural or historic objects in any such park, monument, or reservation. He may also provide in his discretion for the destruction of such animals and of such plant life as may be detrimental to the use of any of said parks, monuments, or reservations. No natural, curiosities, wonders, or objects of interest shall be leased, rented, or granted to anyone on such terms as to interfere with free access to them by the public: Provided, however, That the Secretary of the Interior may, under such rules and regulations and on such terms as he may prescribe, grant the privilege to graze livestock within any national park, monument, or reservation herein referred to when in his judgment such use is not detrimental to the primary purpose for which such park, monument, or reservation was created, except that this provision shall not apply to the Yellowstone National Park: And provided further, That the Secretary of the Interior may grant said privileges, leases, and permits and enter into contracts relating to the same with responsible persons, firms, or corporations without advertising and without securing competitive bids: And provided further, That no contract, lease, permit, or privilege granted shall be assigned or transferred by such grantees, permittees, or licensees without the approval of the Secretary of the Interior first obtained in writing.