This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Block an application from other computer with remote desktop application

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I am new in this forum. And this is first time i post question here.

I have a question. Now i doing a self-project monitoring application so the server can monitoring what clients do in their own PC, it's a remote desktop application. Is it possible if i want to block any application opened by the client ? e.g: the client want to open firefox in their PC and i want to block it from my PC, is it possible to do ?

Sorry for my bad english. Thanks for your help.
 
Saloon Keeper
Posts: 11488
247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch Ichroman,

This sounds like a questionable project. If you want to prevent users from using certain applications, you should probably be the system administrator of a domain, and in that case, you have more direct ways of doing this. If you're not, then you have no right to do it.
 
Ichroman Raditya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:Welcome to CodeRanch Ichroman,

This sounds like a questionable project. If you want to prevent users from using certain applications, you should probably be the system administrator of a domain, and in that case, you have more direct ways of doing this. If you're not, then you have no right to do it.



Hi Stephan. Thanks for your response on my question.

I want to explain how my project works: there are several computers in a room and i want to monitoring them all at the same time. So I try to develop a java-based-desktop application, it is a remote desktop aplication, so I can see what users do in their computers. Sometimes I want to block an application running by users. Sure, I am the administrator in this application, I can monitoring them and see what they do. If I can do something to remote users PC and block certain application so they can't open the application, is it possible to do ?

Thanks again Stephan for your response. I really appreciate it.
 
Stephan van Hulst
Saloon Keeper
Posts: 11488
247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, if you have administrator rights, you can revoke execution permissions on files and folders. I'm not sure why you need Java to do this, it's built into most OSes.

If you really want to do this programmatically, on POSIX systems you can use Files.setAttribute(), and on Windows you should run the "attrib" command using Runtime.exec().
 
The City calls upon her steadfast protectors. Now for a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!