securing bankhandler, and allowing other sql-based datasources to be used