简体   繁体   中英

Adding firewall rule on Windows Phone 8.1

I really don't know how to look for what I am trying to achieve. I will add two images to show you in a better way what I am doing here.

在此输入图像描述

在此输入图像描述

As you can see I have added a blocking rule in firewall which will block a range of addresses(first rule on the second image) of a specific application.

Is there a way to do something similar on windows phone? I am not looking for some code or anything. Just for some guidance. Where should I look? What should I look for? Windows phone don't have firewall and I don't want to use any external firewall app's if there is one...

There is nothing like a firewall for Windows Phone. You don't have such a deep access to the network layer. Compared to desktop PC operating systems users and developers are much more restricted in the things they are allowed to do. That leads to less vulnerable systems.

The good side of a restricted system is that it's much harder (or almost implossible) to create a virus, trojaner etc. for it.

On the other hand you are not able to control the system in its depth since there is no API an anti virus software or firewall would need to consume.

In short: It's not possible to block IP addresses for specific applications.

You can't do it with the public API (no such API is available), however you still able to achieve your goal on the interop unlocked handset.

Please refer to this forum about unlocking your phone, and this thread about blocking some sites (ie it's an old trick with the editing of \\windows\\system32\\drivers\\etc\\hosts file).

I'm pretty sure, you can also add a real firewall rule ('cause firewall service is up and running on the WP8.1 & up OS'es) to the registry but this require more investigation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM