Msg#: 3268750 posted 7:55 am on Mar 2, 2007 (gmt 0)
I want to be able to block certain IP addresses from viewing a webpage. The problem is that for this particular webpage (site A), only html is allowed. I don't know of any way to block IPs by using html. I thought maybe I could create a rule in htaccess on another website (site B) that would allow me to block the IPs on site A.
I've already created something in htaccess that allows me to track IPs on site A by putting an image on the webpage. Is there a way to block users from the webpage by inserting an image on the webpage? From what I already tried, only the image is affected, not the webpage. It doesn't seem like it's even possible but I was hoping someone would know for sure.
Msg#: 3268750 posted 2:39 pm on Mar 2, 2007 (gmt 0)
On site B, the .htaccess code can also just redirect the "good" visitors to the good content on site A and redirect the "bad" ones to something else on site A or B, or anywhere else.
Msg#: 3268750 posted 4:39 am on Mar 3, 2007 (gmt 0)
It seems that the script and iframe tags are not allowed on site A. Something else that I was going to try was to create an external stylesheet located on site B and link to it from site A. But site A doesn't allow the link, import, or meta tags.