In Return of the Jedi we are shown the rancor for the first time which was a pet of Jabba the Hut.
Rancors were large semi-sentient reptilian carnivores native to the planet Dathomir. Standing around five meters tall,1 with their long arms, immense jaws, and armored hides that could withstand blaster fire, they were formidable predators.
We are shown when Luke is dropped into the enclosure and is trapped but, he manages to kill it. After that the rancor handler burst his way through and is visibly upset.
What I want to know is, was he able to interact with the beast and have it show affection or some other pet like interaction or was this like humans keeping wild lions, and unable to interact with them?
Was the rancor handler able to go into the enclosure unprotected?