Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please I need a routine with which I can read and write to a known file in a remote computer on the internet.
Posted
Comments
Manfred Rudolf Bihy 2-Nov-11 12:07pm    
And which part of that task is giving you difficulties?
There is no question here I can answer. Please ask a question and don't forget to add relevant details:
- What protocols are/should be used.
- What operating systems.
- Specifics of the intended architecture.
etc. etc.

1 solution

That is a very dangerous thing to do: think about it: in order to read and write file file across the internet, you have to give generic access permission to everybody. Which means that whatever your file contains, it had better be irrelevant and unnecessary, because someone, somewhere, is going to screw it up, just for fun.

Think about what you are trying to do, and consider using a database instead (these can be secured reasonably well) or if necessary consider creating a web service to do the reading and writing. This can be as secure as you need it to be.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900