Secondly, "Ringworld" (and sequels), by David Niven. The emergency Slaver Stasis Field device fitted to the nigh-on-indestructible starship hulls to make occupants similarly immune to any danger, for the duration of said dangers.
Larry. Not David.
You're right. I was watching (the original) Casino Royale, yesterday, so David Niven was obviously in my brain. (Not his best movie, possibly not even the best Casino Royale. But certainly the one I've enjoyed watching over and over again, the most, in both categories.
The ringworld setting is kind of interesting, although I like it far less than I used to nowadays. Also, LN is a notorious right wing nut. In his later works it tells, too...
I'm not as well read up on (any given) Niven as I probably should be. I went through a phase of reading through the library as alphabetically as I could, so Asimov and Clarke featured more than Niven.
(Wells somehow got a good look in, but Zahn and Zelazny very little. Far too much Piers Anthony, though, given I only started giving up on the Xanth series when I discovered the (new at the time) Discworld series by Pratchett. I think I actually got up to "Isle of View", though. Probably lost out to "Guards! Guards!", from the same 'newly out in paperback' time-frame and I've not looked back since. But that's not Science.)
Also sorry for not putting those previous 'replies' together into one post. Would have been neater. Shoulda coulda woulda.