Click here to Skip to main content
15,920,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Actually i want to restrict files downloading and uploading from the internet.they can access the internet but they won't download and upload from the internet. using c# windows forms.please help me.

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 30-Jun-12 3:30am
v2
Comments
OriginalGriff 30-Jun-12 9:30am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
rajeevhhhh 30-Jun-12 10:18am    
SORRY

This is a little bit confusing. You can filter traffic if you make a firewall, or a http proxy. Actually it is far more easier to find an out-of-the-box solution, than writing it for yourself. As you formulated your question it is clear that you have serious lack of knowledge regarding networking. I don't advice you to start coding such a complex thing.

If you mean the web by "internet", than you can use WebBrowser component, and fine-tune it to make a restricted browser. But you have to disable the usage of all other browsers. You can start from here: Web Browser in C#[^]. This is also not an easy task, because you have to deal with several things to get a working browser after all.
 
Share this answer
 
Dear Zoltan,
Can you help me i am a beginer to start.how to start this
 
Share this answer
 
Comments
Zoltán Zörgő 30-Jun-12 12:53pm    
Don't post comments and questions as answer, since they are not.
Besides, what you mean by "this". You want to build a firewall, a proxy, or a tailored browser. In the later case download the solution from the link in my answer and get familiarized with the code.
vignesh9987 6-Jul-12 5:41am    
actually i want to build a solution to protect the system safer in my work place.the user can browse the internet but i they won't upload and download files such items from the internet
Dhinesh kumar.V 9-Jul-12 6:56am    
I want to build a firewall

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900