You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to design a feature called strict update mode. it's meaning just allow execute UPDATE SQL with the primary key or which configured fields. the proxy will reject the update SQL when can't match configure.
Samples:
configure:
table1: just allow update with the primary key.
table2: just allow update when included user_id or id on where clause.
examples:
update table1 field_1 = 1 where id = 1. [pass]
update table1 field_1 = 1 where field_2 = 1. [reject]
update table2 field_1 = 1 where id = 1. [pass]
update table2 field_1 = 1 where user_id = 1 [pass]
update table2 field_1 = 1 where field_2 = 1. [reject].
how about the idea?
The text was updated successfully, but these errors were encountered:
hi,team:
I am trying to design a feature called strict update mode. it's meaning just allow execute UPDATE SQL with the primary key or which configured fields. the proxy will reject the update SQL when can't match configure.
Samples:
configure:
table1: just allow update with the primary key.
table2: just allow update when included user_id or id on where clause.
examples:
update table1 field_1 = 1 where id = 1. [pass]
update table1 field_1 = 1 where field_2 = 1. [reject]
update table2 field_1 = 1 where id = 1. [pass]
update table2 field_1 = 1 where user_id = 1 [pass]
update table2 field_1 = 1 where field_2 = 1. [reject].
how about the idea?
The text was updated successfully, but these errors were encountered: