I am writing a java applet which will be placed into a web page. It gathers data from a file on its local server. I want the applet to also be able to write to this file. What permissions or policies do I need to add to the applet for this to occur? Must the file be a database? Do I need special information from the web page hosting site?

Thanks for any help you can give me.