Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Eugene Gorelikov

    (@rwsss)

    The proper solution is for the issuer of the API key to restrict use of that key to a specific domain.

    This is what we are going to do with our API keys, however the real problem here is that it appears Google service API keys for server to server communication (which users will be required to provide) cannot be restricted to a domain or IP. Perhaps Google didn’t think that these keys could be used in a CMS module, so in this case Google API misses a critical feature.

    I guess the topic can be considered as resolved. I appreciate everyone’s input.

    Thread Starter Eugene Gorelikov

    (@rwsss)

    xkon, thank you for your input. You are absolutely right, an SQL dump can be performed relatively easy with $wpdb class and using any logic associated with extended wp_options wouldn’t do much. This is a matter of a fundamental approach to how WordPress could restrict the behavior of its plugins.

    Thread Starter Eugene Gorelikov

    (@rwsss)

    Thank you for your input, bcworkz.

    Obviously this is a major possible exploit. I’m not talking about my particular case. More and more plugins out there use the api key/token for access to some ‘premium features’ and it looks like their access creds are all compromised. Obviously you cant just tell the users to not to use some hacked or nulled plugins, because sometimes they just hire a developer who installs them.

    Is it possible to somehow raise this issue with core dev team? It wouldn’t be THAT difficult to change the way options are registered and used. It would be relatively easy to add a column private (varchar) to wp_options and when this column value is empty then the option behaves in a normal way and is accessible by any plugin. If private contains the slug of a plugin that registered this option, then only this plugin would be able to access option value.

    Thread Starter Eugene Gorelikov

    (@rwsss)

    Thank you, Steven. Your suggestion is very much appreciated. However As I can see it requires installation of a 3rd party library and a WP-config setup. The idea behind my plugin is to provide a secure enough solution without much of a fuss for end users. Are there any other options?

    Thanks in advance.

    Having the same problem here. I am unable to edit any of the product attributes or properties in a language, other than default (the fields are inactive).

    WP v. 4.5.2
    Hyyan WooCommerce Polylang Integration v. 0.25
    WooCommerce v. 2.5.5.

Viewing 5 replies - 1 through 5 (of 5 total)