Prevent database access from the view