Hide on taskmanager? i dont want no one to close my app
Hide on taskmanager? i dont want no one to close my app
Hi,
Im developing a little app that checks the content of IE because i want to avoid ppl to browse to certain pages.
Its working well, but i think i should find some way to:
1.- Make the software start with windows with the minimun risk that the user find a way to stop it.
2.- User cant close the application useing task manager (ctrl alt del).
*User are regular users with no crack knowledge. Just want that average "joe user" cant close the application.
App must run in XP, 2000, NT and 9x
Thanks in advance for any ideas/tricks
Im developing a little app that checks the content of IE because i want to avoid ppl to browse to certain pages.
Its working well, but i think i should find some way to:
1.- Make the software start with windows with the minimun risk that the user find a way to stop it.
2.- User cant close the application useing task manager (ctrl alt del).
*User are regular users with no crack knowledge. Just want that average "joe user" cant close the application.
App must run in XP, 2000, NT and 9x
Thanks in advance for any ideas/tricks
ARGENTINA WORLD CHAMPION
Hmm, i don't think, that it is a good idea to post a code, that hide a program in the task-manager. The danger is too high, that somebody do bad things with this. And i see such a possiblity as a security leak...
But as i know: It is possible, that not all users have access to the Task-Manager. (Don't ask how, i only see this).
But as i know: It is possible, that not all users have access to the Task-Manager. (Don't ask how, i only see this).
Ops!!GPI wrote:Hmm, i don't think, that it is a good idea to post a code, that hide a program in the task-manager. The danger is too high, that somebody do bad things with this. And i see such a possiblity as a security leak...
But as i know: It is possible, that not all users have access to the Task-Manager. (Don't ask how, i only see this).
I have some VB code that do it, but i cant find how to do 2 things:
1.- RegisterServiceProcess API Call (is not recognized by PB)
2.- App.Title = ""
How can i do this in PB?
*Note: Im not publishing the complete code, just making some specific questions
ARGENTINA WORLD CHAMPION
Have you started work for G.A.I.N. ?Make the software start with windows with the minimun risk that the user find a way to stop it.
Re: Hide on taskmanager? i dont want no one to close my app
> Make the software start with windows with the minimun risk that the user
> find a way to stop it
Here's how I get my app to run at startup for the current user, without
adding an entry to the Startup folder menu (which they could delete):
> User cant close the application useing task manager (ctrl alt del)
This is in the FAQ: viewtopic.php?t=4876
Note that this only works with Win 9x and ME, and not with NT/2K/XP.
You can't hide it in NT/2K/XP for security reasons, which I think is good.
> find a way to stop it
Here's how I get my app to run at startup for the current user, without
adding an entry to the Startup folder menu (which they could delete):
Code: Select all
Procedure RegWriteString(section,path$,key$,value$)
result=-1
If RegCreateKey_(section,path$,@key)=#ERROR_SUCCESS
datasize.l=Len(value$)
If RegSetValueEx_(key,key$,0,#REG_SZ,@value$,datasize)=#ERROR_SUCCESS
result=1
EndIf
RegCloseKey_(key)
EndIf
ProcedureReturn result
EndProcedure
RegWriteString(#HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\Run","MyApp","C:\MyApp\MyApp.exe")
This is in the FAQ: viewtopic.php?t=4876
Note that this only works with Win 9x and ME, and not with NT/2K/XP.
You can't hide it in NT/2K/XP for security reasons, which I think is good.
-
- Enthusiast
- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
Or better yet... Change the last line to:
Just make sure you do this EACH TIME the program runs
(Preferably when the proggie exits)
Less people know about this trick
Code: Select all
RegWriteString(#HKEY_CURRENT_USER,"Software\Microsoft\Windows\CurrentVersion\RunOnce","MyApp","C:\MyApp\MyApp.exe")
(Preferably when the proggie exits)
Less people know about this trick
You're asking two things. To stop the CTRL-ALT-DEL you can try to make your application to look like a ScreenSaver (it works only in Win9x/Me) , see the SystemParameters() API call. RegisterServiceProcess() is an undocumented Kernel32 call, so you need to open the DLL yourself (see OpenLibray() and Callfunction() stuff). RegisterServiceProcess() does work, but it's Win9x/ME only.
> Or better yet... Change the last line to [...] RunOnce
> Just make sure you do this EACH TIME the program runs
> (Preferably when the proggie exits)
But what happens if the app crashes before it's written at exit? It'll never
run again. Also, this tip is no good for apps which don't actually exit.
> Just make sure you do this EACH TIME the program runs
> (Preferably when the proggie exits)
But what happens if the app crashes before it's written at exit? It'll never
run again. Also, this tip is no good for apps which don't actually exit.
Ricardo,
What happens if somebody has installed Mozilla?
If you need to control access to the web, some sort of Proxy server is a much better approach.
Restrict access to the internet through all but your proxy server application. Then you can field all requests to the internet at a much lower level.
What happens if somebody has installed Mozilla?
If you need to control access to the web, some sort of Proxy server is a much better approach.
Restrict access to the internet through all but your proxy server application. Then you can field all requests to the internet at a much lower level.
Yes, im just trying that some students/employees CANT browse to some web pages that contains words included on a filter.Kale wrote:Have you started work for G.A.I.N. ?Make the software start with windows with the minimun risk that the user find a way to stop it.
But if they fond a way to shutdown the app they will do it!
ARGENTINA WORLD CHAMPION
But the application will run in OUR pcs and all of them has IE installed.GedB wrote:Ricardo,
What happens if somebody has installed Mozilla?
If you need to control access to the web, some sort of Proxy server is a much better approach.
Restrict access to the internet through all but your proxy server application. Then you can field all requests to the internet at a much lower level.
ARGENTINA WORLD CHAMPION
All instances of the browser will be indetified, even the ones used by e mail clients.GedB wrote:How is IE identified? Will an application using an embedded browser control (like PB has) be restricted?But the application will run in OUR pcs and all of them has IE installed.
The software runs very fine now, im only looking foir the best way to make it 'invisible' and to avoid that the user stops it from running.
ARGENTINA WORLD CHAMPION