This method of the NetIOPermission Class sets the flag that controls whether classes that possess this permission can connect to the local host if the codebase URL associated with the classes is a file:// URL.
public void setCanConnectToFileURLCodeBase(boolean f);
f | If this value is true, the permission will allow connections back to the local host if the codebase URL is a file:// URL. |
If this flag is set to true, a later "codebase" adjustment using the adjustPermission method will include the local host in the set of hosts that this permission can connect to.