Security for costs - a review of the applicable principles