What happens to my investments if Interactive Brokers shuts down?

Hi guys,

I’m pretty new to investing here in UAE and have been thinking about something that’s been bothering me.

Let’s say Interactive Brokers decides to stop their business or goes bankrupt. What would happen to all my ETFs and stocks that I bought through them? Would I lose everything or are there some protections in place?

I heard that in some countries like Australia, brokers work more like middlemen where you actually own the shares directly. Are there any brokers in UAE that work this way?

I know there’s something called SIPC protection but I’m not sure how long it takes to get your money back or if there are any costs involved.

Sorry if this sounds like I’m overthinking things but I just want to make sure I understand the risks before I start investing serious money. Has anyone else worried about this stuff?