Secure links for file viewing