RIYADH (REUTERS) - Saudi Arabia is increasingly taking a security-first approach to neighbouring Yemen, where Huthi rebels have all but seized power, wanting nothing better than to finish a new border fence and then slam shut the gates.
Riyadh convened a meeting of Gulf countries on Wednesday to threaten unspecified measures to "protect their interests" in Yemen where the Shi'ite Muslim rebels, allies of its enemy Iran, are holding the President a virtual prisoner.
But unlike in the past, the kingdom wields little influence across its border and has few established ties to Yemen's new powerbrokers.
It has already suspended aid payments, its most potent leverage in the country.
That will compel the Huthis, and by extension Iran, to foot the substantial bill for keeping Yemen afloat if they want to govern the poorest Arab country without Riyadh's support.
Saudi analysts say the priority is sealing the mountainous Yemeni border - where Huthis killed around 200 Saudi soldiers in a brief war four years ago - with a fence modelled on its expensive frontier defences with Iraq.
"The Saudi strategy is no strategy for Yemen. I don't see one except for security: keeping the border intact and guarding it well," said Jamal Khashoggi, who runs a Saudi news channel owned by a prince.
The Huthi ascendancy means that both the Sunni Muslim kingdom's most populous neighbours, Yemen and Iraq, are now dominated by its biggest regional rival, Shi'ite Teheran.
But Riyadh also worries that the revolutionary Zaydi Shia component of Huthi ideology will raise sectarian tensions.
These could drive Yemen's majority Sunnis towards the arms of Al-Qaeda, which carried out an insurgency inside Saudi Arabia in 2003-06 and wants to unseat the ruling Al Saud family.
HUTHI AID DILEMMA
By cutting off aid, the Saudis present a dilemma to both Iran and the Huthis.
In Teheran - where politicians have boasted that another Arab capital has fallen to their influence after Baghdad, Beirut and Damascus - Iranian leaders must decide whether to start making its own aid payments to help keep Yemen's economy afloat.
Plunging crude oil prices and the effect of years of sanctions mean Iran has little extra cash to subsidise a country that has historically had a marginal place in the region-wide power tussle between Riyadh and Teheran.
But Ali Larijani, the speaker of Iran's parliament, suggested on Thursday that aid might be forthcoming.
"If the people of Yemen would need support, we would of course support them," he told reporters on a visit to Turkey.
So far the Huthis have tried to play a double game, holding the political reins while leaving in charge a president who can take the blame for Yemen's economic problems.
The Huthis welcomed on Thursday proposed concessions by the government on power-sharing, but their gunmen still held positions outside the residence of President Abdrabuh Mansur Hadi, who remains a virtual prisoner there.
Unless they are prepared to surrender some of the power their fighters have won, the Huthis will eventually have to take responsibility for governing Yemen - and that means they will need money.
The Huthis have their own reasons to distrust Riyadh. The group was founded partly to counter the spread of Saudi Arabia's hardline Salafi form of Islam in Zaydi areas and the kingdom's historical patronage networks among Sunni leaders in the country.
For its part, Saudi Arabia added the group to its list of banned "terrorist" organisations in March.
However, Riyadh understands that Huthi ideology and strategy remain relatively fluid and that its leader Abdul-Malek Al-Huthi might eventually be swayed by the practical advantages of Saudi assistance to reconsider his group's stance.
GREAT WALL OF YEMEN
So far, though, the Huthis have shown little sign they are willing to bow to external pressure as their forces push into Sunni areas and cement their control over the government.
A report in the Saudi daily al-Yaum on Thursday said Saudi Arabia was working "day and night" to finish its border fence, but the Interior Ministry says it will still take some years to complete.
From the high mountain guard posts on the border, it is easy to see why the work will take time. Ridge after ridge chase each other into the haze, interspersed with deep valleys and dotted with Yemeni villages.
In the lush wadis below, the thick vegetation makes it hard to spot infiltrators crossing the 1,700km border.
The bulldozers of Saudi Binladen Group, the huge Saudi contracting company founded by a Yemeni immigrant whose son created Al-Qaeda, are crawling over this landscape, building a new road for frontier guards to help keep out militants.
"The old technique of buying off the border tribes no longer works because Iran is paying the Huthis. All we can do is make our defences stronger," a Saudi guard told Reuters on a recent visit to the frontier.