Solved

Blocking certain HTTPS addresses

Posted on 2007-03-25
24
284 Views
Last Modified: 2013-12-08
Hi Experts,

I am running windows xp prof (sp2) and would like to block access to certain "https" addresses.
I this possible to achieve locally?
Note: I have the Zone Alarm Pro firewall installed on the pc.

Thanks,

Neville
0
Comment
Question by:N_Joshi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 8
  • 7
24 Comments
 
LVL 32

Expert Comment

by:and235100
ID: 18787952
Not natively in XP.

I don't think the majority of third-party firewalls (such as ZoneAlarm) monitor https:// websites fully - and are unable to block access.

You could however add the https:// addresses to your hosts file - with an address of 127.0.0.1
0
 
LVL 32

Expert Comment

by:and235100
ID: 18787955
Find your hosts file at %SystemRoot%\system32\drivers\etc\

Open with notepad, make changes and save...
0
 
LVL 88

Expert Comment

by:rindi
ID: 18787957
I'm not sure why you would want to block secure sites which https sites are. It would be more logical to block insecure sites (http).

Findo out the corresponding ip address to the site you want to block and then edit the \windows\system32\drivers\etc\hosts file and add the entries there:

xxx.xxx.xxx.xxx  www.NameOfSite.com
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 32

Accepted Solution

by:
and235100 earned 225 total points
ID: 18787960
e.g.

--------start of hosts file-------
127.0.0.1 localhost
127.0.0.1 https://secure.example.com
127.0.0.1 https://secure.another1.com
--------end of hosts file--------
0
 
LVL 32

Expert Comment

by:and235100
ID: 18787963
Said this rindi...

Refresh the page...
0
 
LVL 88

Expert Comment

by:rindi
ID: 18787964
Sorry, my mistake, replace xxx.xxx.xxx.xxx with 127.0.0.1 like mentioned above.
0
 

Author Comment

by:N_Joshi
ID: 18788060
I would like to block certain remote https proxies. For example:

I typed "127.0.0.1 https://www.megaproxy.com" excatly under "127.0.0.1       localhost", but it did not work.

Am i making some blunder somewhere or can the hosts file not block https requests?
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 25 total points
ID: 18788063
Try without https://, but rather

127.0.0.1    www.megaproxy.com
0
 

Author Comment

by:N_Joshi
ID: 18788072
Thanks a lot,
It has worked now.

Regards,
Neville
0
 
LVL 32

Expert Comment

by:and235100
ID: 18788219
No assist with coming up with the answer first?

No surprise there then!

Thanks for nothing. What a waste of my time.

Nice how people repeat the information, then get the points. I wish Experts would read the rules - especially long-term users of EE.

0
 
LVL 32

Expert Comment

by:and235100
ID: 18788222
And N_Joshi - don't bother coming back to this website if you are not going to be guided by the etiquette of EE!
0
 
LVL 88

Expert Comment

by:rindi
ID: 18788401
Thanks, but I agree you should have split. I can reopen the Q so you can do that.

rindi,
Page Editor Storage.
0
 

Author Comment

by:N_Joshi
ID: 18791051
I am new to experts exchange. Infact your answer has helped me a lot and i am extremely grateful to you for this.

I thanked rindi for his answer because it was the final post which worked for me. This has nothing to do with points. I
0
 
LVL 88

Expert Comment

by:rindi
ID: 18791083
So shall I reopen the Question so you can split?
0
 
LVL 88

Expert Comment

by:rindi
ID: 18791086
Actually I have already reopened it. So you can do the split now.
0
 

Author Comment

by:N_Joshi
ID: 18791139
I had no idea i was suppose to take part in giving the points. i am new to EE and thought the points are managed by the moderators.

Since rindi too has taken a part in answering the question, looking at everuthing, rindi should not be given 0 points.

I would give and235100: 225 points and rindi 25 points.
0
 
LVL 88

Expert Comment

by:rindi
ID: 18791153
You can do that yourself. accept one answer, and then you should have a split button with which you can select the assisted answers and you can also divide the points the way you like.
0
 
LVL 32

Expert Comment

by:and235100
ID: 18791157
If you had looked here before asking a question: http://www.experts-exchange.com/help.jsp#hi69

Then there wouldn't have been any problem.

0
 

Author Comment

by:N_Joshi
ID: 18791159
If i am to split the points, please let me know.
0
 
LVL 32

Expert Comment

by:and235100
ID: 18791173
"....and thought the points are managed by the moderators."

Actually - this is not a bad idea - at least they would do something productive then.
And we wouldn't get issues with points allocations such as this.
0
 
LVL 32

Expert Comment

by:and235100
ID: 18791183
Thank you N_Joshi - I am glad you got your problem resolved.
0
 

Author Comment

by:N_Joshi
ID: 18791189
i have split the points and hope everything is fine now.
Sorry for errors caused from my side.

Thank you,
Neville
0
 

Author Comment

by:N_Joshi
ID: 18791193
You are welcome, and235100.
0
 
LVL 88

Expert Comment

by:rindi
ID: 18791206
Yes, thanks.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
Several part series to implement Internet Explorer 11 Enterprise Mode
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question