chetanmadaan
05-31-2010, 08:55 AM
Hi,
we are looking for a solution where we can block the access of the files from server side only. i mean the file should only execute in two conditions.
1. if the request is coming from a specefic url (example: www.google.com or whatever)
2. if the file is being requested a post request and not direct access.
well, we are using a sms gatery and here is how it works.
http://www.mywebsite.com/incomingsms.php?xml=<?xml version="1.0"
encoding="UTF-8" ?><TRUMPIA> <phonenumber>1234567890</phonenumber>
<keyword>keyword</keyword> <contents>contents</contents> </TRUMPIA>
My question is, how can we make sure the URL is triggered from Trumpia SMS
server. If any spammer/hacker knows the URL then he can simple inject the
values and make a URL Launch.
Thanks.
Let me know?
we are looking for a solution where we can block the access of the files from server side only. i mean the file should only execute in two conditions.
1. if the request is coming from a specefic url (example: www.google.com or whatever)
2. if the file is being requested a post request and not direct access.
well, we are using a sms gatery and here is how it works.
http://www.mywebsite.com/incomingsms.php?xml=<?xml version="1.0"
encoding="UTF-8" ?><TRUMPIA> <phonenumber>1234567890</phonenumber>
<keyword>keyword</keyword> <contents>contents</contents> </TRUMPIA>
My question is, how can we make sure the URL is triggered from Trumpia SMS
server. If any spammer/hacker knows the URL then he can simple inject the
values and make a URL Launch.
Thanks.
Let me know?