You may do it by a classical approach. Determine the maximum (horizontal) shear at the interface between your pieces, that typically would be in the top interface at the supports. From a shearing stress got this way, choose a separation, multiply by the width and you have the force your fasteners of whichever the type need to stand. These fasteners you need to design in accord with some code (safety factors etc). If the fasteners have some anular clearance may prove inefficent if not compressing the interfaces. So, it is common for these setups to glue the interfaces (it won't be difficult to find an adhesive able to stand the shearing stress) and if so wanted to backup with mechanical means. However a mechanical screws or other mechanical fasteners only approach is also feasible if properly designed; it would be also acceptable to use only adhesive if the code so permits.