javascript - Only allowing form to be submitted if from a certain URL? (iframe, Laravel) -


i'm building service in need people able submit form, through iframe they'd have on own site, need domain listed in user model.

i know possible, need solution whereby users cannot edit js allow work on domain shouldn't (through inspect element etc.).

anyone got solutions? @ appreciated.

you can't access parent page iframe unless both iframe , parent on same domain.


Comments