DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003

    Apache and Java Security

    I'm running an Apache server on RH8, I have a java applet on my server's home page. The applet accesses a text file. The permissions on all the files involved (classes and text file) are -rw-r--r- . When bring up the servers home page on the net, I get a "applet not inited" message. I was getting a permissions error on my java console as well.
    Does Apache need some sort of other permissions set on files, because I'm confused.
    Any help on this would be appreciated.

    Jeremy Atkinson - new member.

  2. #2
    Join Date
    Mar 2003

    Client Server

    Saying "The applet accesses a text file" you want to say a file in the server, right?

    Keep in mind that the applet is runnign on the client's we browser. You can not access a file on the server.


  3. #3
    Join Date
    Jul 2003
    Yes, the text file is in the server. OK, I am aware that an applet cannot write to file, but I'm pretty sure applets can just read files, as long as they are on the same server.
    Doesn't Java's security manager requires you to create a policy file first? Then include some code in your applet telling Java to check your policy file?
    Does this ring any bells? I think this policy file and applet code telling where the policy file is would help...but I'm not too sure about it.
    What do you think?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.