Yii2 Security Access Control

by its self - Is it good for handle thousand of user’s request (such as login route)

How to do it safely ?

Thank you

please write more details about what your question is. What do you mean with "it"? And what do you want to do safely and what do you mean with that?

I mean there are anyway to separate the login/logout route actions to a controller like LoginController, and keep it handle the role of thousands user’s requesting. Is it this way safe ?

Thank you, sorry for my bad english

Yes, why not?

My authentication route separate into many role and it was dynamic by database, how to handle it by myself and not use RBAC (currently i’m using Access Control - but must set manually).

Remove RBAC filter from controller, use manual checks in the action itself.