Security FIlter vs Show if

Hi, im just wanted to know, whats the different security filter and Show If in View.
If my condition is by USEREMAIL. Should i put the expression both? Or I can use 1 between Security Filter and Show If

Hi @unneskominfo

Show_If and Security Filter are very different, and their purpose are different as well.
I would not even compare these

Basically:

  • Security filter : no one can access any data that you are not supposed to see
  • show_if : no impact on data: anyone can access anything if some deeplink in your app can lead to “unauthorized access”

So:

  • you may display empty views because security filter forbid users to access some data
  • you may hide views or columns, but data are there and if you have enough computer skills, you can access these
  • you can combine both if you want to allow specific users/role to have some specific accesses.

I would strongly suggest to use Security filter is you have concern on data used.

4 Likes

So, if i use security filter. The button view still appear?
And we should use both to secure the data + hide the view access?

unneskominfo:

So, if i use security filter. The button view still appear?

yes

unneskominfo:

And we should use both to secure the data + hide the view access?

This is the best option indeed, for a better UX purpose of course.

Note you can also deal with database update mode here:

2 Likes

Thank You very much with the explanation

2 Likes