The Smart Grid is an example of a cyber-physical system where the physical power grid is surrounded by many intelligent and communication devices that allow for an enhanced management of the power network itself. The Smart Grid may bring great benefits by massively introducing renewable energy sources in the power grid, reducing carbon emissions and improving sustainability. However, it may also bring big challenges regarding reliability, latency and even cybersecurity, since it opens the power system to at least the same threats faced by the Internet. In fact, vulnerabilities may be still larger, considering the novel, heterogeneous and distributed nature of the Smart Grid. Furthermore, cybersecurity is essential for its survival and feasibility, thus making the risks still more relevant.Such Information and Communication Technologies and computer networks supporting the Smart Grid need to comply with very stringent requirements. They also need to efficiently integrate and manage in a single network a vast array of technologies which diverse link layer technologies, meshed and non-meshed Ethernet networks, different cybersecurity protocols, networking at different layers, cognitive systems and storage and replication of data.The objective is to provide a system capable of providing adequate service to the wide array of applications foreseen for the Smart Grid but the complexity of the problem is impressive and it is not possible to focus all of its aspects in a single paper or even project.The present paper presents these requirements, the solutions and results developed and tested in the FP7 European Project INTEGRIS, especially in the security domain, as well as the future challenges and research lines identified and some prospective solutions.