Getting UAC access on Windows Vista

I am trying to do what is now a privileged operation on Windows Vista (modify the local hosts file) from an applet. Can anyone tell me what I need to do to get the rights I need? I am currently getting a java.security.PrivilegedActionException when I attempt to modify the hosts file.

Thanks

Tony

[315 byte] By [tony.thompsona] at [2007-11-27 6:52:53]
# 1
Should I post this in another forum?
tony.thompsona at 2007-7-12 18:27:30 > top of Java-index,Security,Other Security APIs, Tools, and Issues...