Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8132087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:15:38+00:00 2026-06-06T09:15:38+00:00

I have a Java Web-Start-based application, which utilizes several native ".exe" utilities. All jars

  • 0

I have a Java Web-Start-based application, which utilizes several native ".exe" utilities. All jars are signed and the app gets all possible permissions from the user ( <security><all-permissions/></security> in the .jnlp descriptor). The problem is that one of those ".exe" utilities tries to open and listen on some port, which causes the standard Windows Firewall window to pop-up. Example:

Example
(source: 7tutorials.com)

I want users not to be presented with any messages of that kind after they have agreed to give my app unrestricted permissions during the JNLP launch. As far as I know, programmatically adding firewall rules can be either performed using the netsh tool, or by messing with the registry, both of which requires Admin permissions.

I tried to play around with Elevation PowerToys, calling them from Java, but they pop up another message, explicitly requesting the admin rights.

Question: Is there any way to add a rule for my ".exe" utility into Windows Firewall, without irritating users by additional permission requests?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:15:40+00:00Added an answer on June 6, 2026 at 9:15 am

    You’re mixing up security domains here – the java security model, and the permissions you grant to apps that are being executed by jnlp are separate to those that windows understands. The standard jnlp application that is launched is running as an ordinary application, without elevation.

    I don’t think it’s possible without requesting elevation; and you seem to have a good handle on that already.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java Web Start application. I specify the resource (jars, images, etc)
We have a spring-enabled java desktop application started through Java Web Start. The JNLP
I have a java web application which I can debug using IntelliJ or Eclipse
I have a Java web application which stores some data in the session. The
Let's say I have a running Java-based web application with 0 or more valid
I have a Seam 2.2 based Java EE 5 web application with a bunch
I have a Java WebStart application for which I want to specify that the
We have a Java web service that we call from our application. When we
I have a Java web application at my work and I'd like simplify how
I have a Java web-service which currently runs on a local tomcat server. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.