There is a link on the site of this type: site / path / mymusic.mp3. Other sites uses from my playback on this link. How to allow .mp3 playback only on my domain?

  • In general, nothing, and .htaccess will not help here - hindmost
  • In general, there are no options? Perhaps without .htaccess somehow you can? - Checker
  • You can only complicate the receipt of a direct link (in various ways), but you can not use it to prevent it. - hindmost
  • one
    There are no 100% working methods, but you can try to influence this with a couple of tricks: ban by IP (will not save if requested from the client side, for example, from the browser), CORS (for the client side, the header ban is Origin, but again depends on whether the browser has a CORS policy) developer.mozilla.org/ru/docs/Web/HTTP/CORS - Evgeny
  • Does hotlink ban no longer work? ru.wikipedia.org/wiki/… - Denis Startsev

0