# Disabling access to MBeans

You may wish to disable or restrict access to MBeans in security-conscious environments.

Use the `stopManagement()` method of `ManagementMBean`. This method unregisters all of the Derby MBeans except `ManagementMBean` itself, so it does not turn access off completely.

Parent topic: Enabling and disabling JMX
Related reference
Enabling remote JMX with no authentication or SSL
Enabling remote JMX with password authentication only
Enabling remote JMX with password authentication and SSL
Simple authorization using an access file