I would say no. They both use IOS although they are different. Generally speaking the both offer 'services' that need to be secured properly (VTY, SNMP, etc). One type (switch versus router) isn't more secure than another.
Hope that helps.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: