Securing Remote Access for a Scalable Smart Factory