Generate secure urls by adding token and timestamps which expire after a while.