Corayzon
New member
HowTo :: Return "Access Denied" when a person\program requests to "End Process"?
Hello peepz,
Im developing an application that logs off windows after a certain amount of time. Mainly to stop the kiddies playing games all night when they have school work to be completed.
But i have one floor in my current solution!
A user\program is able to end the process of the program that schedules the shutdown, therefor, stopping the log off.
I solved this in internet cafe's by having a udp packet sent from the server that the client returns as an encoded version of. Meaning if the client doesnt send the response udp packet by the timeout period then the admin is alerted that the user on 'computer name' and 'ip address' has killed the schedule process.
This is all well, but when my kiddies do this, a simple udp bouncer doesnt alert anyone of anything when im in bed asleep or not home.
Ive come across the idea, that i could also have a "Access Denied" message returned to a user\process that attempts to "End Task" on the schedule process.
I been looking around for examples on this for around a week now, and have had no luck whatsoever.
Can anyone help me?
Just to ensure my question is understood correctly i want to:
Return a message saying "Access Denied" when a user tries to "End Task" on a process.
Thankz in advance: Matt
Hello peepz,
Im developing an application that logs off windows after a certain amount of time. Mainly to stop the kiddies playing games all night when they have school work to be completed.
But i have one floor in my current solution!
A user\program is able to end the process of the program that schedules the shutdown, therefor, stopping the log off.
I solved this in internet cafe's by having a udp packet sent from the server that the client returns as an encoded version of. Meaning if the client doesnt send the response udp packet by the timeout period then the admin is alerted that the user on 'computer name' and 'ip address' has killed the schedule process.
This is all well, but when my kiddies do this, a simple udp bouncer doesnt alert anyone of anything when im in bed asleep or not home.
Ive come across the idea, that i could also have a "Access Denied" message returned to a user\process that attempts to "End Task" on the schedule process.
I been looking around for examples on this for around a week now, and have had no luck whatsoever.
Can anyone help me?
Just to ensure my question is understood correctly i want to:
Return a message saying "Access Denied" when a user tries to "End Task" on a process.
Thankz in advance: Matt