• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Hotlink Protection

  • 9,405
    Posts
    21
    Years
    • Seen Aug 4, 2015
    Shyper gives me the option to use HotLink Protection. But I'm confused on how it works since the description Shyper gives me of it is very vague.

    So far, I know it stops other sites from using my stuff directly and stealing my bandwidth like so:
    Code:
    <img src="https://www.pokemoninfocenter.shyper.com/images/new1.jpg">
    
    That's an image on my site and the code someone would use on their site 
    to show my image directly from my site.
    But in the box "URLs To Allow Access" where I put in URLs, do I put the URLs of the stuff on my site I want to protect or the sites I will give permission to directly use my stuff?

    Do I put in "https://www.pokemoninfocenter.shyper.com/images/new1.jpg" in the box to say I want to protect this image from people directly showing it?

    OR

    Do I put in "https://www.fakesitename.com" in the box to say I want that site to be able to use my stuff directly?
     
    Yes you'd put https://www.fakesitename.com in the box if you wanted them to be able to use your images, at leasts thats what I et from:
    HotLink protection prevents other websites from directly linking to files (as specified below) on your website. Other sites will still be able to link to any file type that you don't specify below (ie. html files). An example of hotlinking would be using a <img> tag to display an image from your site from somewhere else on the net. The end result is that the other site is stealing your bandwidth. You should ensure that all sites that you wish to allow direct links from are in the list below. This system attempts add all sites it knows you own to the list, however you may need to add others.
     
    demonchaos916 said:
    Do I put in "https://www.fakesitename.com" in the box to say I want that site to be able to use my stuff directly?

    Yes, you put in the lowest directory of a site in that area. For example, if you want you site and Pok?Community to use the IMG tag with your images as the SRC value, then put the folloiwng in that text area:

    Code:
    https://www.pokecommunity.com/
    https://www.pokemoninfocenter.shyper.com/



    Edit: JKaizer must have submitted his post seconds before I did. Mine is redundant now.

    If you're using cPanel, it will automatically format site entries so that you have ones that include "www" in their URL and those that do not.

    For example, if you enter https://pokecommunity.com, it will automatically enter https://www.pokecommunity.com, and vice versa.
     
    Last edited:
    I have hotlink protection, but I don't use it at all. (since of buttons, topsites, etc.)
     
    Yes, that was annoying. I'd rather it be where you could protect certain directories...
     
    Haruka said:
    I have hotlink protection, but I don't use it at all. (since of buttons, topsites, etc.)

    Rename your images that will be used by other sites with an additional suffix.

    For example:
    Code:
    myTopsiteImage.png becomes myTopsiteImage.png.out

    Browsers will still recognise that the file is an image, since the file would have been saved as a PNG file type, and the image would be in an IMG tag. The file would simply be renamed, not saved as a different file type.

    Just make sure not to block the extension which you used to rename the image(s). In the example above, you would need to keep OUT files out of the list.
     
    Back
    Top