Forum Moderators: open

Message Too Old, No Replies

Images not showing when using Norton Personal Firewall.

Norton Personal Firewall

         

kiwi_peter

1:02 am on Feb 9, 2004 (gmt 0)

10+ Year Member



Hi,
I have a web site <Sorry, no URLs. See TOS [webmasterworld.com]>

People that have Norton Personal Firewall on their computers have contacted me and said they cant see images..If they go into options in NPF and change "Information about visited sites" from blocked to permit all images show.
Can anyone tell me why my website, or what is in coding to stop images showing..
Thank you any one for your assistance.
Peter W Spear.

[edited by: tedster at 1:54 am (utc) on Feb. 9, 2004]

Krapulator

3:17 am on Feb 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you have anything in place to block direct linking to image files? (Like a rule in your htaccess file)

kiwi_peter

4:53 am on Feb 9, 2004 (gmt 0)

10+ Year Member



Does this constitute a rule...this is my ht-access file
Thankyou for your help,
Peter.
#RewriteEngine on
#RewriteCond %{HTTP_REFERER}!^http://example.com/.*$ [NC]
#RewriteCond %{HTTP_REFERER}!^http://www.example.com/.*$ [NC]
#RewriteRule .*\.(jpg¦jpeg¦gif¦png¦bmp)$ - [F,NC]

redirect /scripts http://www.stoptheviruscold.invalid
redirect /MSADC http://www.stoptheviruscold.invalid
redirect /c http://www.stoptheviruscold.invalid
redirect /d http://www.stoptheviruscold.invalid
redirect /_mem_bin http://stoptheviruscold.invalid
redirect /msadc http://stoptheviruscold.invalid
RedirectMatch (.*)\cmd.exe$ http://stoptheviruscold.invalid$1

RewriteEngine on
RewriteCond %{HTTP_REFERER}!^http://example-example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://www.example-example.com/.*$ [NC]
RewriteRule .*\.(jpg¦jpeg¦gif¦png¦bmp)$ - [F,NC]

[edited by: tedster at 6:35 am (utc) on Feb. 9, 2004]

jdMorgan

5:05 am on Feb 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



kiwi_peter,

Add the following RewriteCond to the beginning of your anti-hotlinking code section (just ahead of the other RewriteConds):


RewriteCond %{HTTP_REFERER} .

This condition will prevent blocking if the referrer is blank. As such, it is a "hole" in your hotlinking protection, but one that is necessary in many cases, such as for NIS users and for users who connect through caching proxies (of which they may very likely be unaware).

HTTP_REFERER is not reliable, and this is a good example of a very common problem with it.

Jim