1. Get referer in http header. 2. Add url filter.