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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:38:06+00:00 2026-05-16T02:38:06+00:00

I am creating a socket connection with an unsigned applet to a different host

  • 0

I am creating a socket connection with an unsigned applet to a different host and I’m getting java.security.AccessControlException: access denied

If I sign this applet with either “self-cert” or “CA cert” does the applet gain the permissions to create a socket connection to a different host (not the same host it was downloaded from) and does a security message popup if its been certified by a CA?

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-16T02:38:07+00:00Added an answer on May 16, 2026 at 2:38 am

    If you don’t sign the applet, the code which is accessing local resources won’t be executed in any way.

    If you sign the applet with a self-cert, the enduser would only get a warning message which asks for permission. You however still need to wrap the call inside an AccessController#doPrivileged().

    public void init() {
        AccessController.doPrivileged(new PrivilegedAction<Object> {
            @Override public Object run() {
                // Put your original init() here.
                return null;
            }
        });
    }
    

    If you sign the applet with a $$$-cert, the enduser won’t get a warning message.

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

Sidebar

Ask A Question

Stats

  • Questions 499k
  • Answers 500k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You don't need any of the [DataMember] attributes, they're not… May 16, 2026 at 1:49 pm
  • Editorial Team
    Editorial Team added an answer Sorry to answer my own question but I just figured… May 16, 2026 at 1:49 pm
  • Editorial Team
    Editorial Team added an answer addSubview does retain the view, that's not the problem. Your… May 16, 2026 at 1:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a java app that creates a socket to talk to a server
I am creating a UDP socket ( AF_INET , SOCK_DGRAM , IPPROTO_UDP ) via
If creating an IM platform in Java, which would be a better way to
I have created a sample java socket application. I used Socket s = new
I'm having trouble creating a port in Unix. This code keeps returning Error creating
WRITTEN IN JAVA Im creating a program that connects to a proxy and then
I am creating a view like this: UILabel *qty = [[UILabel alloc] initWithFrame:CGRectMake(0, 0,
I want to send OSC messages from iphone to another programme (max/msp) by creating
We are writing a socket server in c# and need some advice on the
Let me explain a bit the app i'm doing. I'm creating a central UDP

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.