if my main table have a security filter (only...

if my main table have a security filter (only my own rows are visible) i need yet to add security filters to my other 10 tables if its part of the main table?

sample:

table event ( id_eventโ€ฆ)

table person (fk_event (ref - is part of event) โ€ฆ)

table object (fk_event (ref - is part of event) โ€ฆ)

โ€ฆ โ€ฆ

i need to protect the access to tables person and object or the appsheet system already to do it automatically?

thanks!

0 6 596
6 REPLIES 6

Yes, you will need security filters for all tables - I donโ€™t believe you can do it any other way.

Ok, thanks @Bellave_Jayaram

A security filter applies only to the table for which itโ€™s defined; there is no automatic protection for related tables.

Beware, though: security filters can create a mess very quickly if you arenโ€™t very careful with both your filter and your data design. A big one: your app wonโ€™t be aware of the data thatโ€™s been filtered, so itโ€™s possible to create a duplicate key!

Security filters are best used to prevent sensitive data from ever reaching the userโ€™s device. Itโ€™s still possible to hide data that does reach the device from the user without security filters, and with fewer potential complications.

I was thinking too about scalability, if i a have 100 users and each them have 30 rows of each tableโ€ฆso is so better receive only my 30 rows of each table than receive 3000 rows for each!

True. Iโ€™ve used security filters myself for just that very concern.

A security filter is best used in this case on tables with rows that can be clearly associated with only a single user and there will be no need for multiple users to access each otherโ€™s rows.

When creating keys in a table with a security filter, be sure to use UNIQUEID().

If you have other columns that are supposed to have unique values, keep in mind that whatever expressions you use to enforce uniqueness will only see the filtered data, not all data. It will not be possible to enforce uniqueness across all users using only filtered tables.

Of course +Steve Coileโ€ฆin all of my tables I have used security filters or they are read only or they have a random number generated for their id!

Top Labels in this Space