How to block specific URL rather than the entire domain on a computer without software?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I've been doing some googling and I can't seem to find an answer. How do you block a specific URL rather than the entire website without using a software.
For example, I want to block www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
. So essentially, I can access everything on facebook, but for the link above.
I want to block it on my entire computer and not just on my browser. Meaning, if I have a program trying to access this URL, its still blocked. How can I do this?
I tried blocking it in C:WindowsSystem32driversetchosts
using the code:
127.0.0.1 www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
windows networking windows-8 connection blocking
|
show 1 more comment
I've been doing some googling and I can't seem to find an answer. How do you block a specific URL rather than the entire website without using a software.
For example, I want to block www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
. So essentially, I can access everything on facebook, but for the link above.
I want to block it on my entire computer and not just on my browser. Meaning, if I have a program trying to access this URL, its still blocked. How can I do this?
I tried blocking it in C:WindowsSystem32driversetchosts
using the code:
127.0.0.1 www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
windows networking windows-8 connection blocking
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13
|
show 1 more comment
I've been doing some googling and I can't seem to find an answer. How do you block a specific URL rather than the entire website without using a software.
For example, I want to block www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
. So essentially, I can access everything on facebook, but for the link above.
I want to block it on my entire computer and not just on my browser. Meaning, if I have a program trying to access this URL, its still blocked. How can I do this?
I tried blocking it in C:WindowsSystem32driversetchosts
using the code:
127.0.0.1 www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
windows networking windows-8 connection blocking
I've been doing some googling and I can't seem to find an answer. How do you block a specific URL rather than the entire website without using a software.
For example, I want to block www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
. So essentially, I can access everything on facebook, but for the link above.
I want to block it on my entire computer and not just on my browser. Meaning, if I have a program trying to access this URL, its still blocked. How can I do this?
I tried blocking it in C:WindowsSystem32driversetchosts
using the code:
127.0.0.1 www.facebook.com/images/games/facebook_gaming_instant_game_banner.png
windows networking windows-8 connection blocking
windows networking windows-8 connection blocking
edited Mar 12 at 8:57
Tetsujin
16k53462
16k53462
asked Mar 12 at 3:55
PaulPaul
11
11
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13
|
show 1 more comment
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13
|
show 1 more comment
2 Answers
2
active
oldest
votes
It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system).
Indeed, with HTTPS (which Facebook uses) you’d have to perform a MITM attack on the encrypted connection to filter its contents. Or, you know, just use a browser extension.
The hosts
file is for hosts only. So you could put www.facebook.com
there and it would work and block the main Facebook web page.
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
add a comment |
You can Use Block Site or browser Extensions. Currently I am using Block site and it is working fine.
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413274%2fhow-to-block-specific-url-rather-than-the-entire-domain-on-a-computer-without-so%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system).
Indeed, with HTTPS (which Facebook uses) you’d have to perform a MITM attack on the encrypted connection to filter its contents. Or, you know, just use a browser extension.
The hosts
file is for hosts only. So you could put www.facebook.com
there and it would work and block the main Facebook web page.
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
add a comment |
It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system).
Indeed, with HTTPS (which Facebook uses) you’d have to perform a MITM attack on the encrypted connection to filter its contents. Or, you know, just use a browser extension.
The hosts
file is for hosts only. So you could put www.facebook.com
there and it would work and block the main Facebook web page.
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
add a comment |
It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system).
Indeed, with HTTPS (which Facebook uses) you’d have to perform a MITM attack on the encrypted connection to filter its contents. Or, you know, just use a browser extension.
The hosts
file is for hosts only. So you could put www.facebook.com
there and it would work and block the main Facebook web page.
It’s not possible. To block an HTTP resource, you need a filter that understands HTTP. No such thing is built into Windows (or any other operating system).
Indeed, with HTTPS (which Facebook uses) you’d have to perform a MITM attack on the encrypted connection to filter its contents. Or, you know, just use a browser extension.
The hosts
file is for hosts only. So you could put www.facebook.com
there and it would work and block the main Facebook web page.
answered Mar 12 at 6:19
Daniel BDaniel B
34.6k76587
34.6k76587
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
add a comment |
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Since its not possible, is there any software recommendations to block outgoing requests for specific URL's?
– Paul
Mar 12 at 6:27
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
Sure, uBlock Origin. It’s the best ad blocker there is.
– Daniel B
Mar 12 at 9:21
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
This is for the browser... I wanted a program for the computer
– Paul
Mar 15 at 5:20
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
Yes. That's not possible, because SSL.
– Daniel B
Mar 15 at 7:23
add a comment |
You can Use Block Site or browser Extensions. Currently I am using Block site and it is working fine.
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
add a comment |
You can Use Block Site or browser Extensions. Currently I am using Block site and it is working fine.
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
add a comment |
You can Use Block Site or browser Extensions. Currently I am using Block site and it is working fine.
You can Use Block Site or browser Extensions. Currently I am using Block site and it is working fine.
answered Mar 12 at 4:21
serverAdmin123serverAdmin123
1165
1165
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
add a comment |
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
1
1
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
Well I am looking for a solution to block it from my entire computer. Not just my browser (as written in my question)
– Paul
Mar 12 at 4:27
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413274%2fhow-to-block-specific-url-rather-than-the-entire-domain-on-a-computer-without-so%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When it comes to preventing yourself from doing something, its better to learn self control, rather than a fix. The reason is, if you implement something to prevent you from doing something, you have the ability to simply undo what you did.
– Keltari
Mar 12 at 4:53
You want to block access for all applications on the computer and don't want to use any software. Does your router have a blacklist capability? You've included conditions that restrict possible solutions. Can you add some context as to why you need those restrictions?
– fixer1234
Mar 12 at 4:57
@Keltari Actually, its not to do with self control. Its more of a programming/networking type thing. Facebook was just an example.
– Paul
Mar 12 at 4:58
@fixer1234 My router? Like the physical plastic router I have?
– Paul
Mar 12 at 5:08
@fixer1234 My router has parental controls but it doesn't let me block the exact url. Only the entire domain
– Paul
Mar 12 at 5:13