Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

modify a file from applet

Thread view: 
giangiammy@gmail.com - 19 Jun 2006 15:02 GMT
I all,

I wrote an applet, and I get some configuration from an xml
file on the server where the applet resides.
I'd like to modify the preferences and save them in the
same xml file (prensent in the server where the applet is)

Is it possible? I got a security exception!
Is there some way to do this or security manager
do not allow in any case.

If I want yto keep some configuration and update them,
how could I procede?

thanks
giammy
Oliver Wong - 19 Jun 2006 15:41 GMT
>I all,
>
[quoted text clipped - 6 lines]
> Is there some way to do this or security manager
> do not allow in any case.

   You'd have to configure your webserver to allow clients to modify files
on there. This might be dangerous though: What if a user uploads a virus to
your webserver?

> If I want yto keep some configuration and update them,
> how could I procede?

   You could have a user-account system and let your users update their
preference via JSP or PHP code. When you've got that working, you could
design your applet to use your JSP/PHP interface under the covers.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.