Add method to build protected urls on berlioz.