Add this script in one of the custom html sections in your Confluence Administration.
This will hide the table where you can view and edit the permissions for anonymous users. But only if the currently logged in user is not a system admin.
If you don't need to show the anonymous permission table to the system admin, you may also look at: https://gist.github.com/dvdsmpsn/5748806