Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2008

Tip: Looking for answers? Try searching our database.

JWS with restricted windows user accounts

Thread view: 
Lionel van den Berg - 11 May 2008 11:02 GMT
Hi all,

I manage a Java app that I've released using JWS. Some of my users work
in networks where they use windows and are not allowed to install
anything.

I'm not sure if JWS is affected by these restrictions and I have
unfortunately not been able to find someone to do some tests and let me
know.

I know for sure that on my PC I can install my app on a restricted
account under XP but I don't think this is the same thing.

I have tried search the JWS documentation and windows documentation but
have come up with nothing.

Does anyone know what the behavior is in such cases?

Thanks

Lionel.
Lionel van den Berg - 11 May 2008 11:13 GMT
> Hi all,
>
> I manage a Java app that I've released using JWS.

It may be relevant that it is a signed app.
Andrew Thompson - 16 May 2008 02:02 GMT
> > Hi all,
>
> > I manage a Java app that I've released usingJWS.
>
> It may be relevant that it is a signed app.

This kind of ability is usually configured in
the 'Java Control Panel' (or whatever Sun is
calling it this instant).  For example, the JCP
might be configured to allow sandboxed apps.
(which might then obtain files using the JNLP
API's FileOpenService) but automatically /reject/
trusted apps.

But that is not how the plug-in is configured by
default, and would require special set-up.

Having said that, there have been bugs that
(for example) restricted fully signed and trusted
apps. from accessing files outside a narrow set
of directories considered 'safe' by the OS (the
particular case I am thinking of involved applets
and JWS apps. that were launched using IE on Vista).

I proposed a solution for that bug, but never got
any testing results back. (I don't run Vista).

--
Andrew T.
PhySci.org
Sabine Dinis Blochberger - 11 May 2008 13:44 GMT
> Hi all,
>
[quoted text clipped - 3 lines]
>
> Does anyone know what the behavior is in such cases?

A Java webstart application is downloaded into the JRE cache (you can
see this in the Java control panel). This is per user, like a browser cache.

We also have a signed Java webstart appliaction that is used by support
staff, I assume they don't have administrator access on their computers.

The only issue we have had so far was that on one PC, the JRE caching
was turned off, preventing the download of native libraries (at least
that's what the error said). Once that was activated, everything works fine.

Hope this helps. You can your application by making a different user on
your machine, I supose.

Signature

Sabine Dinis Blochberger

http://www.blochberger.de

Lionel van den Berg - 12 May 2008 10:58 GMT
>> Hi all,
>>
[quoted text clipped - 7 lines]
> see this in the Java control panel). This is per user, like a browser
> cache.

As I explained to one interested admin user who has assumed it won't
work. However, you will also note that the application will show up in
the "add/remove applications" tool in the windows control panel. Can this
occur even for the most restricted user?

> Hope this helps.

Certainly useful :).

> You can your application by making a different user on
> your machine, I supose.

hmmm, that make not sense much. :).
Sabine Dinis Blochberger - 12 May 2008 12:31 GMT
> >> Hi all,
> >>
[quoted text clipped - 12 lines]
> the "add/remove applications" tool in the windows control panel. Can this
> occur even for the most restricted user?

Hm, I hadn't noticed this. You can also see and uninstall it through the
"webstart application viewer" (javaws -viewer).

I'm going with "it should work", if a user can browse the 'net, he
should be able to use Java webstart.

> > You can your application by making a different user on
> > your machine, I supose.
>
> hmmm, that make not sense much. :).

Yes, that sentence no verb (DOH!). I meant *test* it on your own
machine.

Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

Lionel van den Berg - 12 May 2008 12:21 GMT
>>you will also note that the application will show up in
>> the "add/remove applications" tool in the windows control panel. Can
[quoted text clipped - 5 lines]
> I'm going with "it should work", if a user can browse the 'net, he
> should be able to use Java webstart.

My hunch is that you are right. Logically it makes sense and I thought
this to be the case but not sure if I have the tools to test.

>> > You can your application by making a different user on your machine,
>> > I supose.
[quoted text clipped - 3 lines]
> Yes, that sentence no verb (DOH!). I meant *test* it on your own
> machine.

Yeah, I've setup a test account for that purpose. I'm just not sure if my
windows XP version of "Restricted User" is the same as what these large
government organisations use. It's looking like it will be ok, I will
just have to get the one user I have who wants to use it to just try it
out and see how it goes. So far they don't answer any of my questions :(.

Lionel.
Roedy Green - 11 May 2008 16:13 GMT
On 11 May 2008 21:02:44 +1100, Lionel van den Berg
<lionelv_@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>I manage a Java app that I've released using JWS. Some of my users work
>in networks where they use windows and are not allowed to install
>anything.

I did an experiment for you.  On Vista Home Premium I set up an
account without Administrator privilege.  I used the Opera browser and
it would happily run signed JWS apps.  I discovered though that the
ability to set the clock was inhibited.

Since there are no EXE files involved, I  guess Windows does not count
what JWS does as installing.
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Lionel van den Berg - 12 May 2008 11:01 GMT
>>I manage a Java app that I've released using JWS. Some of my users work
>>in networks where they use windows and are not allowed to install
[quoted text clipped - 4 lines]
> happily run signed JWS apps.  I discovered though that the ability to
> set the clock was inhibited.

Thanks, so on my XP box it works, and on your vista box it works.
However, do these guys in big organisations have windows accounts that
are more restrictive than our restrictive/non-user accounts?

Perhaps you care to test my application www.tciworks.info. I'm sure you
won't know what to do with it ;).

Maybe this is more a windows question.

Thanks

Lionel.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.