Phil Godman's late drop goal gave Edinburgh a morale-boosting fourth win in a row over Cardiff Blues in the Magners League at Cardiff Arms Park on Friday.
Despite being reduced to 13 men in the latter stages of the first half Edinburgh held on and, guided by the control of Mike Blair at scrum-half, came back in the second period to fully deserve their third win in four years at Cardiff Arms Park.
The Blues had all the early territorial advantage but Edinburgh shocked them with a seventh-minute try after a loose clearance kick was brilliantly exploited by Simon Webster who showed great pace before putting fellow wing Andy Turnbull over in the far corner.
The Blues were making heavy weather of turning their superiority into points with too many unforced errors and turnovers.
Edinburgh's defence held out a succession of attacks, even after centre Nick De Luca was yellow-carded for persistent infringements in the 30th minute.
Only when Edinburgh lock Matt Mustchin followed him to the bin four minutes later did the home side take advantage.
From a five-metre scrum the Scots were pushed off the ball and Blues number eight Xavier Rush powered over for Ben Blair to convert and give the Blues a 7-5 interval lead.
In the difficult conditions ball retention had become a lottery but it was Edinburgh's turn to have their best attacking spells.
Their patience paid off in the 55th minute when the Blues were penalised in their own 22 and Phil Godman kicked the goal to put his side ahead.
The Blues came back with a penalty of their own by Ben Blair after a great charge by John Yapp.
But the visitors were not to be denied and five minutes from the end got back into the home 22 and Godman coolly dropped the vital goal to seal a well-deserved victory.
For Cardiff Blues:
Drop goal: Godman
Yellow cards: Mustchin (34, Edinburgh), De Luca (40, Edinburgh)
Cardiff Blues: 15 Ben Blair, 14 Jamie Roberts, 13 Tom Shanklin, 12 Dafydd Hewitt, 11 Gareth Thomas, 10 Nic Macleod, 9 Jason Spice, 8 Xavier Rush (c), 7 Robin Sowden-Taylor, 6 Maama Molitika, 5 Scott Morgan, 4 Deiniol Jones, 3 Gary Powell, 2 Gareth Williams, 1 John Yapp.
Replacements: 16 Tauf'au Filise, 17 Duane Goodfield, 18 Paul Tito, 19 Mark Lewis, 20 Richie Rees, 21 Rhys Jones, 22 Tal Selley.
Edinburgh: 15 Ben Cairns, 14 Andrew Turnbull, 13 Nick De Luca, 12 John Houston, 11 Simon Webster, 10 Phil Godman, 9 Mike Blair, 8 David Callam, 7 Ross Rennie, 6 Allister Hogg (c), 5 Ben Gissing, 4 Matt Mustchin, 3 Gavin Kerr, 2 Ross Ford, 1 Allan Jacobsen.
Replacements: 16 Andrew Kelly, 17 Augusto Allori, 18 Craig Hamilton, 19 Roland Reid, 20 Ben Meyer, 21 David Blair, 22 Hugo Southwell.
Referee: George Clancy (Ireland)
Touch judges: James Jones (Wales), David Williams (Wales)
Television match official: Gareth Simmonds (Wales)