https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Secure access to databases

More
9 years 7 months ago #3124

I am using the Table JX with some restricted access data displaying the grids as plugins on restricted access pages.

But I have found that it is possible to access all grids by using a joomla query like .../?option=com_grid&gid=2. In this way all databases covered by those grids are available without any password.

There is a way to secure this access?

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #3129

Hi,

adding "Additional where condition"

WHERE @user_id in (1, 2, 3)

will limit access to data only to users with ids 1, 2 and 3.

Will this be sufficient enough?

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #3132

The access to the database is closed by this additional condition, thank you.

You can still find an access to the component by adding ?option=com_grid&gid= but the returned database is empty.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.142 seconds

Contact Us

Contact us on Discord

Contact us on Facebook