The proxy can route the external requests to one of the inbound sockets from one of the servers: | One thing that you can do to get around this is to setup a proxy that is outside of the firewall that accepts inbound connections from the outside world, as well as inbound connections from your "real" server. ![]() So my question is: which options do I have to allow a user to specify different firewall rules for each Java application?ĮDIT: after reading the first comment I'd like to make clear that I'm not thinking about how to configure the firewall, but rather have some way that Java applications themselves have a more or less unique way of identifying themselves or have another way of handling network access.Ī firewall is like a semi-permeable membrane, allowing outbound but not inbound connections: | I noticed that in the end they simply launched the JVM causing the usual Java binary to open the Internet connection. A while ago I ran into the same situation and I tried one or two wrappers that convert a JAR into an executable. For the solution with the rule set above I'd need to add another rule or just give up and grant full access and, therefore, also give application #1 full access. If I decided to give application #1 full access then #2 also has full access. Now I have Java application #2 that also requires Internet access. ![]() Since I only check a web service I'd set a rule that restricts access to exactly that server at some port. ![]() Now I have the options to generally allow Internet access or use specific rules. Usually the firewall pops up and asks whether or not this is OK. Let's say I have coded a Java application that requires Internet access.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |