The sheriff, or such person designated by law in his place, shall have charge of the county jail of his county and of all persons by law confined therein, and such sheriff or other officer is hereby required to conform, in all respects, to the rules and directions promulgated pursuant to Section 192 of Title 74 of the Oklahoma Statutes and of the district judge and communicated to him by the proper authority.
Okla. Stat. tit. 57, § 47