How do I disable a specific program in my Firewall?
I'm a college student with a bit of experience with computers and Linux.
I have a computer that runs both Windows 7 and Ubuntu 9.10. When I first installed Linux, I was able to view my Firewall just fine. When I went back to Windows, however, the Firewall was no longer there. I found out how to re-enable it through a command line, but what I really want to know is how to disable it. Whenever I type in "ipconfig /flushdns" into a command prompt, it returns an error message. I did some research and found that ipconfig will not return anything unless there is a connection to the Internet, which I do not wish to use. How do I stop a program from working?
3 Answers.
The Windows command ipconfig is equivalent to what in linux is ifconfig. It is used to configure network interfaces on the machine. What you seem to have done is to remove all network connectivity on your machine. This can be done by turning off the device using ipconfig.
For example, you may have a network device called eth0 which has IP address 10.12. You can disable this device using the command:
Net stop eth0. If you had multiple such devices, you would have to enter the device name after stop. In linux, you would usually use the lspci command to find out the name of the network device you are trying to disconnect.
@kurt: yes, if you just wanted to flush your DNS resolver (which I think you did, since it is the one line of text you have there) you would have no need for your firewall settings at all. For this reason it would not really make sense to have firewall rules that affect your DNS server.
User1235Nov 13 '12 at 17:55. I'm not sure if it will work with ipconfig /flushdns. It seems to just turn off everything that is listening on any port on the network interfaces.
MikeNov 13 '12 at 18:05. To add a comment to answer, click the 'plus' icon to the left of the comment. This will create a new, parenthetical comment section. All other comments to that answer are now in that section.
How do I block a program from running on Windows?
I am running Windows XP SP2, and I would like to prevent a program from running on my computer.
I tried to do so with the process explorer, but it is not showing me a process that is running a particular program. ?
In Process Explorer, right-click on the process and choose "Properties". Go to the Security tab. Click on the button "Block access to file.
When the window pops up, add the program you want to block. If it's in the list, then click OK. If it's not in the list, select it and click on Add.
When you click OK, the program will be added to the list.
How to block an app in Firewall Windows 11?
I am new to this forum and I have problem.
How can I block an specific application i.e WhatsApp on my Windows 10 pc through firewall?
To block a WhatsApp on Win10 PC try: Open Firewall settings and click on Create a new rule. Name the rule "Block Application". (Please note that we assume you are using the default firewall configuration) Then just go to: Block Application and under Block applications section, just pick WhatsApp. That's all! However If you want to Block Multiple applications: In the Create a new rule wizard, name the rule. Select Type "App". For App type select "all the apps you like!" in Windows 10 version of firewall - or "All your apps" for the Windows 8/8.1 version of firewall.
Enter the rule name here.
How do I block internet access to an app?
This isn't a question regarding the specific application, but rather a basic question about how to block internet access from an Android application.
How do I prevent another application on the Android from accessing the internet? I'm working on developing a new app for Android and need to make sure it can't connect to external resources, namely the Internet, even through my own WiFi connection. Is there a way to check if an application is going to make a connection (a background service or something) from some other application that it's already installed on the phone? If there is, what permission is required? Is there some way to do that? How can I check, through an app/service, if another app is going to connect to the Internet or not? Or at least, is there some permissions that allow an app to do this? I'm trying to make an internet-only app myself, so I understand you are in search of an easy answer, but if you cannot find answer then I hope you at least found an explanation of how to do this? Thanks. I can't say exactly, but I think what you might be looking for is android.INTERNET permission. This one grants the application permission to use network resources on the device, such as connecting to the internet. Check the documentation.
As a precaution, a service in an 'internet-only' app will have to be run in the background. Therefore, you can still use it the next time you launch the app without user involvement.
As @Eirwijn has pointed out, the app does not actually connect to the internet, you would have to manually call an internet server for the request. I believe this is also the case with the background service.
What you would need to do is get a list of the devices current IP address (if using a background service) or have them connect and then compare their IP addresses to the ones in your database (if using a service). You can then deny permission to the app that has requested the connection.
The permission android.ACCESSNETWORKSTATE is pretty safe. You need it only when your app starts, for checking whether a WiFi or LTE connection is available.
Related Answers
What Are The Three Types Of Firewalls?
A firewall is a set of rules that determine whether or not network traffic...
What are the 3 types of firewalls?
There are 3 main types of firewalls to consider when setting up and main...
What is the difference between basic and stateful packet filtering firewalls?
Stateful packet filtering fir...