[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java

I'm not sure exactly how java figures out what's 'harmful' and what 
isn't. I imagine file i/o is one of them. You might try looking at 

-- Run.exe
First Law of the Universe:
    No law applies to ALL of the Universe
runexe@ntplx.net http://www.ntplx.net/~runexe/ Finger me for PGP key
The Void! A monthly Satire newspaper on our school newspaper:

On Sat, 2 Mar 1996, Stephen Masterman wrote:

>    On Sat, 2 Mar 1996, Stephen Masterman wrote:
>    > What is to stop someone from putting a java applet on their home page that,
>    > when run, deletes everything it can on the local hard drive?
>    > 
>    > Steve
>    > 
>    Java has built in blocks that keeps a program from doing any harm to your 
>    system. I suppose someone could still find some way to do something 
>    (perhaps crashing your computer), but I don't think anything permanent 
>    could be done.
> Does this mean that a program written in java can not do file i/o?
> Otherwise, how could the VM know that it was doing "harm" as opposed to
> some necessary file manipulation?

Reply to: