Thumbnail generation, URL tokens security check.