Restrict login to safe mode

I would like a very simple application to restrict logging in to safe mode to administrators only.

Security applications are often inactive in safe mode, which is a good idea, but if you wish to restrict what limited users can do this leaves a loop hole. I have not found a simple way to stop limited users logging in to safe mode. I believe it can be done with a script but it all seems very complicated and I have not had the time to investigate.

I would have to be safe so there was no chance of it stopping administrators logging in but it is such a simple concept that I do not think it should be hard.

Seems like that could be bad if the app messed up/was coded badly/was corrupted; and admins couldn’t even get on in Safe Mode.