Click here to Skip to main content
15,887,821 members
Home / Discussions / C#
   

C#

 
GeneralRe: Blocking application from starting from a wpf-client Pin
Oscar Andersson21-Aug-13 20:38
Oscar Andersson21-Aug-13 20:38 
AnswerRe: Blocking application from starting from a wpf-client Pin
Oscar Andersson21-Aug-13 20:40
Oscar Andersson21-Aug-13 20:40 
AnswerRe: Blocking application from starting from a wpf-client Pin
Bernhard Hiller21-Aug-13 21:59
Bernhard Hiller21-Aug-13 21:59 
GeneralRe: Blocking application from starting from a wpf-client Pin
Oscar Andersson21-Aug-13 22:17
Oscar Andersson21-Aug-13 22:17 
QuestionBlock webbrowser from accessing webpages in C# Pin
Oscar Andersson20-Aug-13 21:13
Oscar Andersson20-Aug-13 21:13 
GeneralRe: Block webbrowser from accessing webpages in C# Pin
Richard MacCutchan20-Aug-13 23:25
mveRichard MacCutchan20-Aug-13 23:25 
AnswerRe: Block webbrowser from accessing webpages in C# Pin
Eddy Vluggen21-Aug-13 1:51
professionalEddy Vluggen21-Aug-13 1:51 
AnswerRe: Block webbrowser from accessing webpages in C# Pin
Dave Kreskowiak21-Aug-13 4:19
mveDave Kreskowiak21-Aug-13 4:19 
The short answer is you cannot prevent a process from starting. You can kill it if it shows up.

Well, the long answers is it's possible with a ton of research work and using the Detours library to do some API hooking of the CreateProcess functions.

This is FAR better done through Group Policy. Group Policy has White and Black lists for allowing or preventing applications from running.

As for blocking web sites, this is stadandard functionality for any off-the-shelf proxy server.


...in other words... you don't need to write a single line code to do any of this stuff. This is all stuff that's better left to network administrators and their tools.

GeneralRe: Block webbrowser from accessing webpages in C# Pin
Oscar Andersson21-Aug-13 20:48
Oscar Andersson21-Aug-13 20:48 
GeneralRe: Block webbrowser from accessing webpages in C# Pin
Eddy Vluggen22-Aug-13 5:13
professionalEddy Vluggen22-Aug-13 5:13 
GeneralRe: Block webbrowser from accessing webpages in C# Pin
Oscar Andersson22-Aug-13 20:43
Oscar Andersson22-Aug-13 20:43 
GeneralRe: Block webbrowser from accessing webpages in C# Pin
Dave Kreskowiak22-Aug-13 6:21
mveDave Kreskowiak22-Aug-13 6:21 
AnswerRe: Block webbrowser from accessing webpages in C# Pin
Bernhard Hiller21-Aug-13 21:55
Bernhard Hiller21-Aug-13 21:55 
QuestionBluetooth Pairing Problem Win8 Pin
LearnTheCoding20-Aug-13 20:50
LearnTheCoding20-Aug-13 20:50 
QuestionCollection with unique key by property Pin
Elfin Darkglow20-Aug-13 17:51
Elfin Darkglow20-Aug-13 17:51 
AnswerRe: Collection with unique key by property Pin
BillWoodruff20-Aug-13 19:14
professionalBillWoodruff20-Aug-13 19:14 
AnswerRe: Collection with unique key by property Pin
Bernhard Hiller20-Aug-13 21:12
Bernhard Hiller20-Aug-13 21:12 
QuestionHow To Add Buttons In Textbox? Pin
gaofq20-Aug-13 16:03
gaofq20-Aug-13 16:03 
AnswerRe: How To Add Buttons In Textbox? Pin
BillWoodruff20-Aug-13 18:13
professionalBillWoodruff20-Aug-13 18:13 
GeneralRe: How To Add Buttons In Textbox? Pin
gaofq21-Aug-13 4:43
gaofq21-Aug-13 4:43 
GeneralRe: How To Add Buttons In Textbox? Pin
Ravi Bhavnani21-Aug-13 7:38
professionalRavi Bhavnani21-Aug-13 7:38 
GeneralRe: How To Add Buttons In Textbox? Pin
BillWoodruff21-Aug-13 11:31
professionalBillWoodruff21-Aug-13 11:31 
GeneralRe: How To Add Buttons In Textbox? Pin
Ravi Bhavnani21-Aug-13 11:37
professionalRavi Bhavnani21-Aug-13 11:37 
GeneralRe: How To Add Buttons In Textbox? Pin
Mycroft Holmes21-Aug-13 12:53
professionalMycroft Holmes21-Aug-13 12:53 
QuestionTreeview node folder images Pin
rfresh20-Aug-13 13:28
rfresh20-Aug-13 13:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.