If you want 'permanent' attachment then LePage 50lb (clear) tape is good.
I used the tape on plastic gun magazine pouches to attach neodymium magnets on outside for when I need to quickly grab and retain mags on a run; not only magnets stayed put for years able to hold full mags while running but stripping mags from magnets puts stress on tape, never separated.