Exposing table name and field names in request URL

后端 未结 3 666
抹茶落季
抹茶落季 2021-01-12 19:16

I was tasked to create this Joomla component (yep, joomla; but its unrelated) and a professor told me that I should make my code as dynamic as possible (a code that needs le

3条回答
  •  清酒与你
    2021-01-12 19:54

    Your aliasses could be a rot13() on the meta/name of your objects.

    Although, if you escape the input accordingly when working with those names, I don't see any problem in exposing their names.

提交回复
热议问题