Firebase allows you to control database authorization through declarative rules. Rules can validate user access and input data. The rules simulator helps test rules. Rules run top-down and cannot be used as filters, so the data structure may need changes to implement authorization. Firebase provides an authentication system as well as hosting, storage, functions and other features in its application framework.