🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #78

Re: Applet and printing

#78
From: Paul Nichols (TeamB)
Date: Mon, 26 Dec 2005 06:17
27 lines
2008 bytes
Hiroshi wrote:

> 
> Hi everyone, I'd like to confirm my conclusion from a long and arduous
> experience.
> 
> "Applets cannot print even setting 'File Permission' in a policy file that
> resides in a local system."
> 
> Sun provides tutorial for us. One of them is dedicated to this 'applet and
> resource restriction' issue in
> 
> http://java.sun.com/docs/books/tutorial/security1.2/tour1
> 
To use print operations from an applet, your bezt bet would be to code sign
the applet. While true you could make a policy file to allow this
operations, you would need everyone to include this policy file manually,
or you would need to code sign an applet to allow write permissions on the
local machine. It would be much easier to code sign the applet from the get
go and then you can perform any normally unsafe operation. Of course the
user would still have to agree to accept the applet and its certificate at
least for the first time.


A simple search revealed the following article:

http://www.developer.com/java/article.php/601671
Technical Details
Message-ID: <43b0da26@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43abedf2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,1fd2d7935d8c3707
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <43b0da26@newsgroups.borland.com>
From: "Paul Nichols (TeamB)" <paul@comp.net>
Subject: Re: Applet and printing
Newsgroups: borland.public.jbuilder.java.swing
Reply-To: paul@comp.net
Date: Mon, 26 Dec 2005 01:17:14 -0500
References: <43abedf2$1@newsgroups.borland.com>
Lines: 29
Organization: Team B
User-Agent: KNode/0.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 70.34.189.24
X-Trace: newsgroups.borland.com 1135663655 70.34.189.24 (26 Dec 2005 22:07:35 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail