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 6000983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:46:18+00:00 2026-05-23T00:46:18+00:00

I have a Java applet that was working fine in a browser hosted in

  • 0

I have a Java applet that was working fine in a browser hosted in an ASP.NET application. I then added Forms Authentication to my application and have an access rule that denies Anonymous users to the directory the Java applet and page that hosts it live in. The applet no longer loads and when I look at the Java console it looks like it is trying to load the source of my login page(from the root folder) and then says it can’t find the jnlp (obviously, because it’s not on that page).

When I load the applet from a directory that doesn’t have any access rules it loads with no problem.

Example:

Folder structure:
Root Application/JavaApplet (with access rules to the JavaApplet directory) -> Applet doesn’t load

Root Application/JavaAppletNoAccessRules -> Applet loads with no problem

Anyone have any tips on how I can get the applet loading in a directory that has access rules? It would be nice to use the ASP.NET Authentication to deny access to the applet directory.

The web.config content that restricts anonymous users to the Java applet directory:

<system.web>
        <authorization>
            <deny users="?" />
        </authorization>
</system.web>

Thanks.

  • 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-05-23T00:46:19+00:00Added an answer on May 23, 2026 at 12:46 am

    It seems that the Java applet isn’t getting the permission it needs when put in a directory with access rules denying anonymous users. As a workaround I put the applet in the root directory and kept the aspx page in the limited access directory, then just updated the “applet” tag to point to the root directory to retrieve the applet.

    This worked for what I needed (users cannot get to the page with the applet unless they are logged in) but is really more of a workaround than a solution. I’m going to wait a couple of days to see if I get a solution I can accept, otherwise I’ll accept this answer because it did solve my problem.

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

Sidebar

Related Questions

in our application we have a Java applet running inside a .NET browser control.
I have a applet that runs with no issue in asp.net web application ...
I have a paint application that runs as a Java applet. I need to
I'm working on an ASP.NET web application for our corporate intranet users. I have
I have a web application that uses java applet defined in a <applet> tag.
I have a java applet that runs fine locally on my desktop computer. but
I have a Java Applet that uses AWT. In some (rare) circumstances, the platform
I have a Java applet that is meant to run only on Windows. (It
I have an Java applet that loads native code through JNI. Everything worked just
We have an ages old Java applet that we want to move forward to

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.