The DataBase is not used for security, Security Assist is used for security in the File Manager.
The database connection is used so the file manager can store file information that it needs to work. and yes, you can create a secondary connection for that.
If you want user level access, you should continue using Security Assist, the MySQLi behavior does not have support for a user level access system