froger-me / wp-packages-update-server

WP Packages Update Server - Run Your Own Update Server for Plugins and Themes
GNU General Public License v3.0
141 stars 39 forks source link

Licenses need domain to manage #28

Closed Alireza-Ghavabesh closed 1 year ago

Alireza-Ghavabesh commented 3 years ago

hi Licenses need domain to manage, can add domain example.com to my License in Licenses page ?

how to fill allowed_domains array ?

Packages licensing: Prevent plugins and themes installed on remote WordPress installation from being updated without a valid license. Licenses are generated automatically by default and the values are unguessable (it is recommended to keep the default). When checking the validity of licenses an extra license signature is also checked to prevent the use of a license on more than the configured allowed domains.

how to use this ?

froger-me commented 1 year ago

Once a user activates the plugin on their website, the domain is then recorded on your WPPUS, and the database of the user contains an encrypted flag allowing to indentify the website based on the domain. During updates, WPPUS encrypts the recorded information and checks it against the encrypted flag, and allows update only if the values match.