Link to home
Start Free TrialLog in
Avatar of N_Joshi
N_Joshi

asked on

Blocking certain HTTPS addresses

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
Avatar of and235100
and235100
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Find your hosts file at %SystemRoot%\system32\drivers\etc\

Open with notepad, make changes and save...
Avatar of rindi
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
ASKER CERTIFIED SOLUTION
Avatar of and235100
and235100
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Said this rindi...

Refresh the page...
Sorry, my mistake, replace xxx.xxx.xxx.xxx with 127.0.0.1 like mentioned above.
Avatar of N_Joshi
N_Joshi

ASKER

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?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of N_Joshi

ASKER

Thanks a lot,
It has worked now.

Regards,
Neville
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.

And N_Joshi - don't bother coming back to this website if you are not going to be guided by the etiquette of EE!
Thanks, but I agree you should have split. I can reopen the Q so you can do that.

rindi,
Page Editor Storage.
Avatar of N_Joshi

ASKER

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
So shall I reopen the Question so you can split?
Actually I have already reopened it. So you can do the split now.
Avatar of N_Joshi

ASKER

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.
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.
If you had looked here before asking a question: https://www.experts-exchange.com/help.jsp#hi69

Then there wouldn't have been any problem.

Avatar of N_Joshi

ASKER

If i am to split the points, please let me know.
"....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.
Thank you N_Joshi - I am glad you got your problem resolved.
Avatar of N_Joshi

ASKER

i have split the points and hope everything is fine now.
Sorry for errors caused from my side.

Thank you,
Neville
Avatar of N_Joshi

ASKER

You are welcome, and235100.
Yes, thanks.