Search code examples
phpincludeioncube

Ioncube include_file_protection


I have a question about include_file_protection in ioncube.

Is it possible to dissallow nonencoded files to include encoded files but allow encoded files to include nonencoded files? The file i want to include has the extension ".cache"

Any ideas?


Solution

  • Not quite, however you could do the following:

    A encoded with include attack protection enabled B encoded without include attack protection but with the relevant property set so as to allow inclusion by A C non encoded.

    B can include C and C could include B, however A and any others using include attack protection could not interact with C directly. In this scenario, B would typically be just a thin delegation wrapper to bridge between A and C.

    For more details it is recommended to contact ionCube support: http://ioncu.be/S

    disclosure: I am associated with ionCube.