I have one paid content download page in my WordPress website.
I want to make it secure by sending a pre-decided private secret key in body of request. If that key exists in incoming request, then only show page, otherwise give 404 error or redirect to some other page.
I am very new in WordPress. Can anyone please help me how can I do it?