For Programmers: Free Programming Magazines  


Home > Archive > Java Security > March 2004 > Applets served from a dialup & security exceptions.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Applets served from a dialup & security exceptions.
Mark A Framness

2004-03-19, 8:54 pm

Greetings,

I am developing a website prototype on my home system which has a
dialup connection.

When I grab the HTML file with the applet in it via locally defined
hostnames all is well. However, when I put the current IP into the url
bar and go after the applet that way I get the following exception:

Unable to connect to any hosts due to exception:
java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:3306 connect,resolve)

Do I have to define settings in my hosts file, in my httpd.conf to set
the current IP being used? For example in my hosts file I have

127.0.0.1 wwww.myhost.net

My httpd.conf file has the NameVirtualHost defined to 127.0.0.1, must
I reset those definitions? I can write up a script easily enough just
will it do me any good?

Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com