How can an IP address be blocked from accessing a site?

  • 2
  • Question
  • Updated 10 years ago
  • Answered
Is it possible to block a particular IP address from visiting a site?
Photo of Allan Neil

Allan Neil

  • 4 Posts
  • 0 Reply Likes

Posted 10 years ago

  • 2
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
this works well just follow the directions

http://www.htmlbasix.com/blockusers.s...
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
just use the generator to insert the ip addresses in question and then generate the code... copy and then paste into your HTML widget
Photo of Allan Neil

Allan Neil

  • 4 Posts
  • 0 Reply Likes
once i have the code and pasted into HTML widget, where do i put that widget on a Synthasite?
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
oh sorry all you need to do is grab an HTML widget and drag it onto your index page and then insert the code you have within the box and then update your site. I think you may have to put this code on each page if that individual has been on other pages

it will become invisible in your browser if the code is correct
Photo of Allan Neil

Allan Neil

  • 4 Posts
  • 0 Reply Likes
thanks for your help and sorry for keep on asking ... i copied the code into a html widget and placed it on the index page (above another widget) .... when i open the site i see the code written above where the other widget is ... it says for instance "
order allow,deny
deny from 75.51.121
deny from 75.51.122
allow from all" .. i don't think i have done something right!
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Ed - thanks for the suggestion. If the code is showing up on your page it sounds like you are not using the SynthaSite HTML widget. Here are some additional pointers, just to make sure:

When you drag and drop an HTML widget onto your page, an empty dialog box should open up. Paste your code into this and then click "ok". You should then not see the code on your page.

The HTML widget in SynthaSite is located in the sidebar on the right, between the Two Column Layout widget and the File widget. The icon for this widget is a blue sphere. See attached screenshot.



I hope this helps. Please get back to us if you are still having difficulty with the code.
Photo of Allan Neil

Allan Neil

  • 4 Posts
  • 0 Reply Likes
thank you .. i tried again .. i dragged a synthasite html into the page, the blank window came up and i pasted

order allow,deny
deny from 75.51.121
deny from 75.51.122
allow from all

then clicked OK.

What i see on the site where i inserted the widget is the words: "order allow,deny deny from 75.51.121 deny from 75.51.122 allow from all"

am i doing something wrong?
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
hmmm I know that generator worked last week but why not now.

I just tried it but it didn't work for me either.

I am working on something for another user right now and when I am done if Monique hasn't get you fixed up I will
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
I am busy with my support backlog at the moment - so you might get to it before me. Just to be clear - did you have success simply pasting the generated code into the HTML widget, or did you need to create and upload a file to the file manager?
Photo of Ed-a-Torials @ Honey Bear Playhomes

Ed-a-Torials @ Honey Bear Playhomes, Champion

  • 2582 Posts
  • 279 Reply Likes
kinda busy with doggy buttons at the moment so I will find him a generator while I wait for the upload of the buttons on the other post
Photo of Allan

Allan

  • 1 Post
  • 0 Reply Likes
i was able to get a code generated from that site ed referred me to, but it seems he also had problems when he tried applying the code to the html widget on synthasite with the code text appearing on the site