Hi Friends
As per the Curl documentation "Any Web site to which your applet is going to submit a request must have a curl-access.txt that grants the applet access".
And I'm posting this thread to confirm for the below specific situation.
Lets say I know a web server accepting requests from ANY client using HTTP GET method and it does not care in which language the client has written. You may think of a typical GET method query to the server like "http://www.example.com/test1/myscript.php?username=xyz&password=abc". And I'm getting the server response if I'm using any client (except Curl applets) or may be directly from browser.
But, if my client is a Curl applet, then I should also get the response from the server, because the server has given permission to public for that interface and its server admin's responsibility to put security measures at his end.
Then, in the above situation..... Is it still mandatory to keep a curl-access.txt file at the root of the server , ie, http://www.example.com/ ???
If yes, and the server is not owned by me (I CAN NOT put any file at server root) then how can I write a Curl application to request for data from the server ? where as client applications written in other languages, can post a query to server easily without any restriction.
Do not you think its a self restriction to Curl applets for public servers ?
Need your valuable input.
//Thank you
As per the Curl documentation "Any Web site to which your applet is going to submit a request must have a curl-access.txt that grants the applet access".
And I'm posting this thread to confirm for the below specific situation.
Lets say I know a web server accepting requests from ANY client using HTTP GET method and it does not care in which language the client has written. You may think of a typical GET method query to the server like "http://www.example.com/test1/myscript.php?username=xyz&password=abc". And I'm getting the server response if I'm using any client (except Curl applets) or may be directly from browser.
But, if my client is a Curl applet, then I should also get the response from the server, because the server has given permission to public for that interface and its server admin's responsibility to put security measures at his end.
Then, in the above situation..... Is it still mandatory to keep a curl-access.txt file at the root of the server , ie, http://www.example.com/ ???
If yes, and the server is not owned by me (I CAN NOT put any file at server root) then how can I write a Curl application to request for data from the server ? where as client applications written in other languages, can post a query to server easily without any restriction.
Do not you think its a self restriction to Curl applets for public servers ?
Need your valuable input.
//Thank you
Tags:
curl-access.txt