The development of rifled artillery meant that it was now possible for an enemy to occupy the high ridge of Portsdown Hill north of Portsmouth and shell the naval base from several miles away without having to attack the Hilsea Lines .