Selecting the right template given a file type at run time

Hey guys;

I’m currently using the Transloadit plugin for uppy, and using the getAssemblyOptions function I’m able to specify the assembly instructions in code that should be used to process the file based on file type.

But, according to reading so far, using a saved template is the more secure way to do things.

My question is: will I continue to select the appropriate template (based on file type) in the client code. Just confirming that there is no way to handle the template selection on the server side.

Thanks for any enlightenment