The security wall forms part of an agreement between Palestinian factions and the authorities in Lebanon in attempt to contain recent confrontations between Palestinians inside the camp and the Lebanese army, Lebanese and Palestinian officials claim.