Article View: borland.public.jbuilder.java.language
Article #16130Forbidden system properties for applets...not.
From: -=(CyBerco)=-
Date: Mon, 29 Mar 1999 00:00
Date: Mon, 29 Mar 1999 00:00
27 lines
1702 bytes
1702 bytes
Hi, Below a list of system properties an applet can never acces. Well, 'never?' I thought , so I tried it out. I made an applet that gets the 'user.name' and displays it. Next I opened the applet in Frontpage and viewed the page in 'preview mode' (tab at the bottom). What do you think? Indeed, it nicely displays the information! Maybe the restrictions aren't that tight? CyBerco. Forbidden System Properties: For security reasons, no existing browsers or applet viewers let applets read the following system properties. Key Meaning "java.class.path" Java classpath "java.home" Java installation directory "user.dir" User's current working directory "user.home" User home directory "user.name" User account name "
Technical Details
Message-ID:
<7dnpqg$ek9$1@zonnetje.NL.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,55b03a8ae47f294b,start X-Google-Attributes: gidf5d71,public X-Google-Thread: 10a146,55b03a8ae47f294b,start X-Google-Attributes: gid10a146,public X-Google-Thread: fecd1,55b03a8ae47f294b,start X-Google-Attributes: gidfecd1,public X-Google-Thread: f74b3,55b03a8ae47f294b,start X-Google-Attributes: gidf74b3,public From: "-=(CyBerco)=-" <Berco.Beute@EverMind.com> Subject: Forbidden system properties for applets...not. Date: 1999/03/29 Message-ID: <7dnpqg$ek9$1@zonnetje.NL.net> X-Deja-AN: 460312422 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@nl.uu.net X-Trace: zonnetje.NL.net 922708624 14985 195.109.80.11 (29 Mar 1999 11:57:04 GMT) Organization: UUNET-NL (http://www.nl.uu.net) NNTP-Posting-Date: 29 Mar 1999 11:57:04 GMT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.api,comp.lang.java.programmer