Fill in secure attachment url function #117