Re: hide php code
From: Ira Baxter (idbaxter_at_semdesigns.com)
Date: 09/18/04
- Next message: John Dunlop: "Re: Lowering upload_max_filesize"
- Previous message: Alvaro G. Vicario: "Re: Lowering upload_max_filesize"
- In reply to: karolina: "hide php code"
- Next in thread: Matthewtung: "Re: hide php code"
- Reply: Matthewtung: "Re: hide php code"
- Reply: Nel: "Re: hide php code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 18 Sep 2004 12:35:19 -0500
"karolina" <rallykarro@hotmail.com> wrote in message
news:c8a98246.0409151039.6d09a01c@posting.google.com...
> Hi,
>
> I have a webserver which some user have their own accounts on. I want
> to provide the users with some public classes which they may use use
> when they are making there own php code placed in their own
> directories.
>
> I want the code to be accessable via an interface (like h-files in c)
> but I do not want my code to be viewable to the users which are using
> my classes. Very much like a library or something.
> How do I make php code which are hidden but are free to use by my
> users with a defined interface against my classes?
Your source code needs to be processable by the PHP compiler.
But, you don't want your code-users to "see" it.
This is an unsolvable problem when stated this way.
What you can do is to obfuscate the source code you want them
to use. This enables them (and the compiler) to see the public interface,
and to "see" the class bodies, but if the class bodies
are sufficiently obfuscated, it won't do them much good
to see it.
See http://www.semanticdesigns.com/Products/Obfuscators/PHPObfuscator.html.
-- Ira D. Baxter, Ph.D., CTO 512-250-1018 Semantic Designs, Inc. www.semdesigns.com
- Next message: John Dunlop: "Re: Lowering upload_max_filesize"
- Previous message: Alvaro G. Vicario: "Re: Lowering upload_max_filesize"
- In reply to: karolina: "hide php code"
- Next in thread: Matthewtung: "Re: hide php code"
- Reply: Matthewtung: "Re: hide php code"
- Reply: Nel: "Re: hide php code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|