It depends on what you mean by hub. I assume you mean some kind of ISP provided device? If so you're probably fine up to the number of ports it has. If you're out of ports you can buy a network switch, connect that to the 'hub', then connect more to the switch. Your biggest limitation will be internet speed but, depending on where you send that security camera footage, that may not be an issue at all.
TL;DR: Run the cable to the new place and install your camera. You'll be fine.