php - Check if request to server was made by ionic app -


right have ionic project finished comes php backend. make backend little bit more secure against influences outsite make backend accessible within ionic project (native app). tried restrict domain since native app doesn't have domain that's not gonna work.

i can't show code because i'm absolutely clueless on how approach this.

thanks in advance

we make backend accessible within ionic project (native app).

given existence of reverse engineering , futility of drm, what you're asking is, strictly speaking, not possible in absolute terms. can take app, analyze code/behavior (usually freely available tools), , write own app communicates server.

to make backend little bit more secure against influences outsite

given above impossible, threat model? attacks trying protect against? should assume clients malicious , validate input on server side. if that, don't need worry whether or not used native app communicate server.

consider workflow in article, building secure web applications in php.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -