• Hello, i wanted to ask, if there is a way to protect the Url of a button?
    For example, disable right click, and remove the “popup-box” that appears below left on the browser window.
    By this the “normal” user can’t share the URL and needs to acces the hidden URL via the button.

    p.s. this is to protect a FREE download (i don’t want to use EDD or woocommerce with e-mail signup etc. – simply one-click-download).

    I’m currently using SiteOrigin widget’s buttons, so if somebody even got a solution for that, would be great!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    disabling right click doesn’t protect anything.

    Moderator t-p

    (@t-p)

    Are you using this plugin: SiteOrigin Widgets by CodeLights?

    If so, I recommend asking in this plugin’s dedicated support sub-forum for better results so its developers and users can help you with this:
    https://www.ads-software.com/support/plugin/codelights-shortcodes-and-widgets

    Thread Starter tanckom

    (@tanckom)

    I know it doesnt protect anything – but I’m simply looking for a way, that people need to visit my website to download file, instead of copying link and paste it and then the download starts.

    And the: register/ recieve 24h link via e-mail is not really an option since it’s a turn off.

    Maybe if it’s possible to change download link automatically every 24h and the old one expires.

    About SiteOrigin by CodeLights: I already contacted them, however they suggested to hire somebody who creates a custom code for this.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What you want to do is block “hotlinking” in your CSS, so the link only works if done from your website.

    Use this for a guide on how to do that.

    https://www.htaccesstools.com/hotlink-protection/
    https://www.wpexplorer.com/prevent-image-hotlinking-wordpress/

    Thread Starter tanckom

    (@tanckom)

    And how do i add the block hotlinking method for .exe files in .htacces file? Because i already got this in .htacces

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I really can’t do it for you, but whatever add add it outside the being/end WordPress block. The guides should help; if not, Google for more.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Protect the Url of a button?’ is closed to new replies.