The 10 year old computer will work find if it can always be connected to the internet and is running 4gb (pref 8gb) of ram.
One of the benefits of raspberry pi is there is no wireless attack vector. If it’s a laptop that has an Ethernet port you can limit attack vectors by removing the Wi-Fi and Bluetooth chip. Sounds intimidating but is something a novice diy can do by gooogling.