Welcome! This might be exactly what you are looking for. Essentially you need to create firebase rules to protect your data