🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
2 messages
2 total messages Started by Tobin Sun, 02 May 1999 00:00
Security question
#1226
Author: Tobin
Date: Sun, 02 May 1999 00:00
11 lines
795 bytes
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
Re: Security question
#1240
Author: Nathan Lee
Date: Mon, 10 May 1999 00:00
24 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads