php - accept POST from only own server -


i have developed project in php need process post data have been sent own server !
how ?
referrer not solution, can blocked/removed or changed !
there code stop in .htaccess ?

you try use cryptographic nonce : typical client-server communication during nonce-based authentication process including both server nonce , client nonce ( client nonce built using nonce recived server ) .

now doesn't make super secure ( there people able bypass rather easy ) harder floks make post you're website .

enter image description here

( image shows how use nonces in authetification process , use non authentification purposes )


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -