Forum Moderators: open

Message Too Old, No Replies

How to Block Source Code for Ips Addresses

Using Html/php

         

Flolondon

2:38 am on Feb 3, 2003 (gmt 0)

10+ Year Member




Can somebody kindly tell me how can you block an IPS address in a way that somebody cannot see the source code via VIEW.

I understand there are different methods of blocking. Can somebody please enlighten me please.

jdMorgan

4:01 am on Feb 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Flolondon,

Welcome to WebmasterWorld [webmasterworld.com]!

Without intending to be flippant, the best way to be sure that no-one can see your code using view-page-source is to remove the page from your server. If the page can be rendered by a browser, its source can be displayed by that browser. There is no good way to get around this using HTTP and standard browsers.

If you wish to block certain IP addresses completely - so that they cannot access your site or a group of resources within your site at all, then that is possible. The method needed depends on what kind of server (e.g Apache, IIS, etc.) your site is hosted on.

HTH,
Jim

Flolondon

4:00 pm on Feb 4, 2003 (gmt 0)

10+ Year Member



Thanks for the message. Jim.