Skip Navigation

[Resolved] How Secure are Conditional Blocks

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 11 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2674831

Hi,

I wanted to create a custom post type, which would be storing some confidential information, that only needs to be shown to certain users (based on their user ids being stored in the custom post type, in a custom field). The aim is to then use a conditional block, that will only show this confidential information, is the user id is the same as the user id stored in the custom post. This part of the functionality is working as desired.

What I wanted to understand is how secure is this implementation in terms of access to information. Are conditional blocks as secure as Access Control Rules (which I cannot use in my form of implementation) from an access to information perspective? Or is it, that a person with enough programming sense will be able to access the information, since the conditional block is only blocking the access for the front-end display of data (but all the data is still publicly available)?

#2674957

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Conditional block will render the output only when the condition will be satisfied (true). There will be no output rendered if conditions does not match.

I hope this answers your question and still you should try to setup a test with conditional block and check how it works and does it output anything that you do not want to.

You can use our free test platform http://www.discover-wp.com and use any of the free reference site that is build on top using Toolset and run a test.
- https://discover-wp.com/site-templates/