Can I use policy to grant permission for my Applet?

Hi,
I want to know if I can use policy files to grant my applet permissions which are loaded from browser , like
grant codebase "file :http://host/port" {permission java.security.AllPermission;}
If anyone knows, please let me know. Thanks.
Michael

Yes, you can.
Under Windows NT the policy file is in C:\WINNT\Profiles\USERNAME\.java.policy, in Windows 9x is in c:\windows\.java.policy
HTH,
Bruno.

Similar Messages

  • Problem in Granting permissions for Signed Applet

    Hi,
    I have signed my applet with my self generated certificate. The client browser has imported this certificate in his cacerts keystore as trustcacerts. When I grant permission for my client(manually,in the client machine), I have peculiar errors.
    Case 1 : grant codeBase "http://***.XXX.***.XX/-" { permission java.security.AllPermission; };
    This permission works fine. But the client is able to download all applets from the granted machine, including unsigned applets.
    Case 2: grant SignedBy "dcard" codeBase "http://***.XXX.***.XX/-" { permission java.security.AllPermission; };
    If I add the signedBy tag, this particular grant section is completely omitted by the system. That is, the browsers does not recognize the signedBy tag( & its entire grant block) and throws SecurityExceptions for accessing the local machine.
    Please help me to grant permission for the applet coming from a particular source AND signed by a particulr person.
    Thanks in advance,
    Rajesh
    Note : Plug-in is java1.3.0_02. The public certificate is imported as trustcacerts in all cacerts files in system.

    This is the complete Error :
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: java.security.AccessControlException: access denied (java.net.SocketPermission localhost:15000 connect,resolve) minor code: 0 completed: No
    org.omg.CORBA.INTERNAL: Can not find GateKeeper: java.security.AccessControlException: access denied (java.net.SocketPermission localhost:15000 connect,resolve) minor code: 0 completed: No
         at com.visigenic.vbroker.gatekeeper.BridgeEx.login(BridgeEx.java:102)
         at com.visigenic.vbroker.gatekeeper.BridgeEx.loginHelper(BridgeEx.java:71)
         at com.visigenic.vbroker.gatekeeper.BridgeEx.bind(BridgeEx.java:200)
         at com.visigenic.vbroker.interceptor.ChainBindInterceptorImpl.bind(ChainBindInterceptorImpl.java:42)
         at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1196)
         at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1361)
         at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1171)
         at com.platform7.persona.acceptor.GacHelper.bind(GacHelper.java:299)
         at com.platform7.persona.acceptor.GacHelper.bind(GacHelper.java:295)
         at GenericApplet.init(GenericApplet.java:40)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    org.omg.CORBA.INTERNAL: Can not find GateKeeper: java.security.AccessControlException: access denied (java.net.SocketPermission localhost:15000 connect,resolve) minor code: 0 completed: No

  • Can I use VCC (Virtual Credit Card) For my apple id ?

    I want to ask , Can I use VCC (Virtual Credit Card) For my apple id ?

    I have just discovered this fact in the past two weeks when I needed to update the expiration date on a virtual credit card number which I have had registered on my iTunes account for years. Apple claims this is a long time policy but considering that I was able to keep using the same VAN for several years by updating the expiration date, I believe the implementation of the policy is recent.
    I spoke to two different Apple support people just now and they were apologetic and advised that I leave feedback about the issue at this site:
    http://www.apple.com/feedback/itunesapp.html
    using the option to leave feedback in the category of managing my iTunes store account.
    The support manager told me that the reason for this policy is that it is easy for hackers to steal these virtual numbers and use them--which is ridiculous, because the whole point of the VAN is that it is tied to one vendor only once it is used, and if the vendor changes even one letter in the name when they put through the charge on the credit card account, the charge is refused (at least the way my credit card issuer handles VANs). With any other form of payment, Apple and I would still have a problem with unauthorized charges on the iTunes store and I would have an even bigger problem if the hacker stole my real credit card number and used it anywhere they pleased.
    I think this issue should be spread widely on tech sites and anyone who is having this problem should also be sure to leave feedback on the address above as it is supposedly taken very seriously. This is a step backward as far as I am concerned. I love Apple products and will figure out a different way to pay for my various iTunes subscriptions in the meantime but I am certainly not a happy camper right now.

  • Does anyone know whether iTunesU can be used in a secure environment for corporate training? Looking at previous posts it does not seem like it?

    Does anyone know whether iTunesU can be used in a secure environment for corporate training? Looking at previous posts it does not seem like it?

    Sorry, but iTunes U is only available to K-12 public school districts, private schools and two- and four-year accredited, degree-granting, public or private colleges and universities. It's not available for corporations.
    Regards.

  • HT1727 How do you grant permission for home sharing and authorizing?  My mac did home share, but now says, "The required directory was not found or has a permissions error", when I try to authorize.

    How do you grant permission for home sharing and authorizing?  My mac did home share, but now says, "The required directory was not found or has a permissions error", when I try to authorize.

    OK, I just got off of the phone with Apple and still no joy. They had me try a few things that did not work, then told me to Archive and Install, which did not either. Anyway, thanks for the additional help very note worthy, but still no joy. Also an email to iTunes Support took me here
    http://docs.info.apple.com/article.html?artnum=93061
    I have a Users/Shared folder but since the files we are talking about are invisible, I can see how it is structured.
    And by the way I tried this one
    http://discussions.apple.com/message.jspa?messageID=3577004#3577004
    and it did not work. However, when I install a fresh copy of Tiger on the external it did authorize the computer and was able to play the downloads. But coping the invisible file to my boot drive was not successful. But , like I said the music did play when I started up from the external. So I guess that may be my only solution, unless someone can tell what the correct directory is and where it for iTunes downloads.

  • Can i use the one apple id for my iphone

    Can i use the one apple id for my iphone & ipad...is there any demerrits to this

    what if i dont wanna use the same id.....
    sorry to be direct & asking you my ?
    Whenever i downlaod an app OR game ...it will NOT be shared on my wifes iphone4s..correct
    but when ever i take a pic from my ipad...will it be shared thru icloud....i want it to be shared (only pics)

  • I have a Verizon and At&t Iphone 4 can I use the same Itunes account for both phones?

    I have a Verizon Iphone 4 though my job.  I also have a At&t Iphone 4 for my personal phone.  Can I use the same Itunes account for both phone or will I need a separate account for Verizon Iphone?

    I dont live in US, live in Japan.. but I do have 2 iPhones, one 3GS and one 4. I use same iTunes Account on both.
    You might have a little "problem" if your payment were by Credit Card, everytime you try to buy something (I mean, try to download something on your iphone, not from your computer) , your going to need to verify your payment... but if u use iTunes Gift Card, you wont have any problem with that
    sry about my english... I hope I helped you

  • Can I use the same iTunes account for 2 iPads without having the same apps on both?

    Can I use the same iTunes account for 2 iPads without having the same apps on both? Everytime I try to sync my new iPad, it syncs all the apps that are on my account. If I can do this, can someone tell me how please???

    Yes you can, easily.  When you plug the first pad in to sync, note the name of the pad on the last pane.  Set up for that device whatever you want to sync.  When you are done, plug the second pad in.  Make sure it has a different name on the left pane.   Then sync to that pad whatever you want.  I tunes will remember what you did on each pad, and will start from there the next time you plug in.

  • HT204053 Can you use the same Apple ID for two devices ?

    I have an MacPro and I am buying an iPad.  Can you use the same Apple ID for two devices or should I create an new AppleID for the ipad?

    Welcome to Apple Support Communities
    The Apple ID purpose is to have the same data in all your devices and share your purchases among all your devices, so you can use your Apple ID in both devices

  • I have 2 Ipod nanos, can i use the same apple id for both of them

    I have 2 ipod nanos, 1 for my wife and mine. Can I use the same Apple ID for both so we can share the same music.

    yes you can. I have 1 nano and 3 iTouches.... you should be able to use Multiple iDevices with the same Apple ID.....

  • Can I use the same Apple ID for multiple devices

    Can I use the same Apple ID for multiple devices?

    Yes. Up to five devices can be authorized on a single computer using the same Apple ID. You can also use the same Apple ID on multiple devices is they are all going to use the same iTunes Library by the same user. But it's ill-advised if multiple users are involved who wish to keep their devices separate from the devices belonging to other users.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • How can I use my external hard drive for my iphoto instead of my mac book pro memory?

    i don't know if this question has been asked before: how can I use my external hard drive for my iphoto instead of my mac book pro memory? just like itunes all my song are save on my external hard drive. make sense?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • Can I use a usb thumb drive for Time Machine?

    Can I use a usb thumb drive for Time Machine backups?

    Hello,
    Yes you can use a (large) thumb drive. The most common format for a Time Machine backup drive is Mac OS Extended (Journaled).
    Hope this will help.

  • Can I use the same email address for multiple seats in Creative Cloud for Teams?

    Can I use the same email address for multiple seats in Creative Cloud for Teams?

    No. http://www.adobe.com/products/creativecloud/faq.html
    Can I buy more than one membership to an individual offering of Creative Cloud? 
    No, Adobe has moved to identity-based licensing with a technology that will not support multiple same-product licenses, so you can buy only one membership per Adobe ID. If you need two Creative Cloud memberships, you will need to purchase each with a unique Adobe ID. You can also purchase a Creative Cloud for teams membership, which allows you to purchase and manage multiple seats under one account.

  • HT204053 Can I use the same Apple ID for iMessage and FaceTime services from two different devices - iPhone and iPad?

    Can I use the same Apple ID for iMessage and FaceTime services simultaneously on two different devices - iPhone and iPad? It seems those are competing to each other, and the services work on one of them only (iPhone).

    Many thanks, Sir! Both are mine and it's good to know that imessage can work on both with the same Apple ID. Will now have to find out why imessage stopped working on iPad when it started on iPhone (new). After exploring the forum I understand  that there may be plenty of reasons why imessage does not work, even though it worked previously on the same device with the same ID.

Maybe you are looking for

  • Can no longer get photos off iPhone

    For months, whenever I put my iPhone into its cradle to recharge/sync, if there were any photos in its "Camera Roll," iPhoto automatically launched, identified/connected to the iPhone, indicated how many photos were available, and offered to download

  • Move TextFrame From One Page to Another (Indesign CS3 & VB )

    Hello Friends!!! I have create 5 pages catalog in indesign CS3 & i need to shift one Group From One page to another...can anybody help me to do this issue. what i have tried is....... Set MyPge = MyDoc.Pages.Item(3) MyDsgn.Select MyPge.Groups.ItemByI

  • NO ONE KNOWs??? EJB3.0: how to use column default value in the database??

    hi, This seems to be easy but I didn't find good answers... pls help... I have a table XYZ with a column: FriendlyName VARCHAR(30) NOT NULL DEFAULT 'my home' When I want to persist an entity object XYZ, I don't want to specify its field FriendlyName-

  • Module - adding to display list, container null?

    So I'm working on a module inside one of our applications and when the module is loaded it is passed a VO.  I have found that I need to fire all of my other logic for the nested classes inside this module on the Set method of this VO because if I wai

  • Print Problems with InDesign CS3

    Hi all, Having problems printing jobs from InD CS3 on OX 10.5.5 (many machines) in our studio. We are printing to a Epson Stylus Photo R2400 powered by a PowerRIP X version 8. InDesign is 5.0.3 When we print more then one page from a document i.e. pa