Replies: 3 comments 5 replies
-
My particular opinion on access control is to create a new DB user and within the databases' own Roles and Access controls, configure that user to only allow access for the types of operations warranted (READ, WRITE, etc.) and for only those tables / schema that the user should have access to. It seems in your proposal, that you want to move access control (or some of it) into DB2Rest directly? That is inherently impossible, since there is always a reliance on a DB user and their given access, that you must configure with DB2Rest that makes connections with that said user. If access rights are even semi-controlled by DB2Rest, then that makes it, in my opinion, harder for everyone to reason with and makes setups harder to be more secure, not easier to secure? Or did I misunderstand your intentions? |
Beta Was this translation helpful? Give feedback.
-
The suggestion is for implementing an access control with JWT - user and data access. In other words, handle entitlement for the application user. jcasbin is a good project that I believe does this. |
Beta Was this translation helpful? Give feedback.
-
@PittyXu Closing |
Beta Was this translation helpful? Give feedback.
-
Now, apis are open for all, and only support JWT in the plan. I think we can do some fine-grained control by putting some rules into configuration files or databases. My proposed control structure is as follows:
Beta Was this translation helpful? Give feedback.
All reactions