Article View: aus.computers.java
Article #1240Re: Security question
From: Nathan Lee
Date: Mon, 10 May 1999 00:00
Date: Mon, 10 May 1999 00:00
24 lines
1493 bytes
1493 bytes
As far as I know there is no problem with an applet reading any file from which is resides. So as long as the permissions are set correctly on the file that you wish to read from.. this usually means setting the file to readable by anyone (make sure you don't make it writable by anyone). The security manager will block any attempt to read a file from the user's hard-drive but any file on the server that it came from is ok.. Attempting to read a file off another server is a security exception and is also usually stopped. Hope that helps, nathan. (PS to reply take out the anti-spam part of my email) Tobin wrote: > Hi, > > I want to use java to do a quick search through a servier side text file for > a string input by a user (in the applett in a web page). > > I think that the security issues prevent my applett from looking at the text > file, is there any way around this?? > > Thanks in advance. > > TObin
Technical Details
Message-ID:
<373637A1.AAB95598@studentmail.newcastle.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<372e2355@news2.vip.uk.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,8775d5c61abc4a8c X-Google-Attributes: gid10d6db,public From: Nathan Lee <nathan.leeANTISPAM@studentmail.newcastle.edu.au> Subject: Re: Security question Date: 1999/05/10 Message-ID: <373637A1.AAB95598@studentmail.newcastle.edu.au> X-Deja-AN: 476014794 Content-Transfer-Encoding: 7bit References: <372e2355@news2.vip.uk.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Uni of Newcastle. Mime-Version: 1.0 Newsgroups: aus.computers.java