#2227 - Added referer and iframe checks