By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,326 Members | 2,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,326 IT Pros & Developers. It's quick & easy.

HTML5 JS Android app to access apache driven server

100+
P: 228
For my application, i am allowing requests to come from anywhere (at development stage). It just sends ajax requests to php files on the server and it works great.

It is based upon allowing access to all request headers sent to apache, which is obviously not a good idea.

What's the work around to make only my applications request be accepted by my server? I thought of including some sort of key that is sent with every request but since it is going to be a static one, I dont think it is gonig to be secure enough.

What's the work around?
Aug 7 '15 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
What's the work around to make only my applications request be accepted by my server?
Authentication/Authorization. this can be on a server level, based on IPs, and can also be done on script level.
Aug 7 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.