You may need to hide some pages in wp-admin from specific admin, editor or author. Easily you can do this with following snippet.
I know you are worried about security level of wordpress website. Please keep in mind WordPress is secure itselft.
Copyright © OP CodeSpace. 2019. All Rights Reserved.