The answer to this is entirely dependent on your own opinion. Some might believe it’s acceptable in order to keep the country safe, but others might not because they believe it infringes on individual freedoms. There are pros and cons to both sides, so you have to determine which side you agree with more.
Tariffs can help domestics producers but can hurt consumers. Governments impose tariffs on imported goods and services to make them more expensive to consumers. Tariff provides revenue to the government and give a price advantage to domestic producers. While it protects domestic industries, it can also hurt foreign producers.