How to prevent template modifications

Asked

Viewed 56 times

0

Hello, I’m kind of a layman in PHP I’m learning little by little and discovering new things. i wonder how I do to prevent a certain person who owns my template, has the restriction of not being able to modify the footer in the case of the creator credits. I worked a lot on the template and would not want a person to simply remove my credits. In the case wanted that when this person modify anything from the footer is // commenting on the tags or hiding with css. I redirected to a page asking for the request to relocate the credits the Page is on my account. really wanted the system just don’t know if it makes the difference between doing with PHP or Javascript preference (PHP) so already learning.

  • You can create a file .php to compare what the person has changed, if he or she has changed the copyright, you block the site. After creating this file, you can encrypt it with ionCube

  • yes thanks for the idea. the problem is that I don’t know how to do this :P

  • Look, unfortunately, this can happen a lot and in virtually any language and not just in templates. See if it is really worth creating a validation for this because as we know, it ends up influencing a little the processing.

  • Another thing, sometimes you may need . js and css for your font to work. Try logically, leave, if that’s your concern, these scripts difficult to understand for those who see from outside, for example obfuscating the code

  • You can turn . js into hexadecimal. There’s software that does that. But, as I said, it’s going to weigh a little on processing. but it does not cost to try ne...

  • If you have access to the url of the sites that are on the air with your template, you can create a 'robozinho' to browse them and search the footer for your credits.

Show 1 more comment

1 answer

1


Hello,

As Valdeir Psr has already commented.. you could use ioncube... But it is still subject to reverse engineering and it is possible, in many cases, to decrypt the file.

To learn how to use ion Cube, visit (in English): https://www.ioncube.com/tutorials/encoder_gui/

You could link an authentication key in the template, which would also be reverse-engineered and could even cause problems with the code.

Anyway you will realize that it is almost impossible to prevent you from changing your code.

My suggestion to you is to use the theme under some open source license, so you are protected by international laws that allows, if you want, charge the due recognition.

This is a solution that only serves if the project is open source, open source.

You can read more about it in the link below (also in English): https://opensource.org/licenses/osl-2.1.php

Hug!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.