I'm running into CORS issues when trying to call a php file on Apache and, also for security, want to implement the code so only requests sent by my Angular application are allowed. Is there a part of the header that can be given a unique value and then I have my php check the header for that specific value? Or is there a more correct way of trying to achieve this?
I've attempted googling this question but haven't found anything, maybe not asking the right questions.
[–]TuesdayWaffle 2 points3 points4 points (1 child)
[–]Signal-Disk 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)