I have a link in an email which performs some kind of validation check. I would like to call a Javascript function when this link is clicked. This Javascript function will then perform some ajax call to a php script which performs the actual action (updating stuff in a database).
I would like to know if this poses any security concerns? Is this something that can be done anyway ?(because I'm inside an email, not on the actual website)
Please let me know your thoughts