How can a peripheral prevent additional centrals from connecting?

Hello, we are connecting one iOS app to a second iOS app using BLE. We have written both, and are successfully connecting and reading characteristics. One of our remaining tasks is to restrict connection by additional iOS centrals from connecting to our iOS peripherals. One way would be, on the peripheral side, would be to stop advertising when a connection is established, but that doesn't seem very secure. How can we restrict a second connection on the peripheral side?


I don't see a disconnect or cancel connect method on the CBPeripheralManager, which is part of my confusion -- if there were such a thing I could just disconnect from any central after the first connection, but that doesn't seem to be supported for the peripheral.


What's the right way to do this? Thanks.