Welcome to RStudio Community!
There is! As of the latest release 
Details are written up pretty extensively below, but basically you are looking for the settings Authorization.ViewersCanOnlySeeThemselves and Server.HideViewerDocumentation (new). Worth noting that this only works for Viewers - it is impossible to restrict access for these type of things from Publishers.
If you have any feedback on these features or others that would be helpful - we love hearing about them!