• Post Reply Bookmark Topic Watch Topic
  • New Topic

Block an application from other computer with remote desktop application  RSS feed

 
Ichroman Raditya
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.
 
Stephan van Hulst
Saloon Keeper
Posts: 7993
143
  • 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: 7993
143
  • 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().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!