Programmatically hide tabs in Tabbed Container?

@Tess one more question regarding a security concern (cf. Security Consideration: Server Side Rendering vs Client Side Rendering): when using your approach of hiding buttons, is this only hidden on the client or on the server side? I mean, do you render the component server wise and then hide it via Javascript on the client?

Thanks
Stefan