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? 8 6170
*** karolina escribió/wrote (15 Sep 2004 11:39:22 -0700): 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?
If there's a way to do so, I can only think of a PHP encoder like Turck
MMCache or a similar tool: http://turck-mmcache.sourceforge.net/index_old.html
Check the "Encoder" part.
--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Las dudas informáticas recibidas por correo irán directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions
--
karolina wrote: 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?
try defining an additional include-path in the php.ini file. then just
tell them the class names to include. they won't be able to see the code
- i think. it's the same procedure as with the pear-packages :)
regards
SH
--
"The goal of Computer Science is to build something that will last at
least until we've finished building it." -- unknown
In article <2q*************@uni-berlin.de>,
Stefan Hegenbart <ic*@hegi.info> wrote: karolina wrote:
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?
try defining an additional include-path in the php.ini file. then just tell them the class names to include. they won't be able to see the code - i think. it's the same procedure as with the pear-packages :)
regards SH
If the code is readable by the browser but no one else, that should do
it. Make sure it's permissions are set to exclude world read.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
*** Michael Vilain <vi****@spamcop.net> wrote/escribió (Wed, 15 Sep 2004
15:35:54 -0700): If the code is readable by the browser but no one else, that should do it. Make sure it's permissions are set to exclude world read.
The original poster isn't concerned about regular system users seeing the
code--what she doesn't want is that webmasters can see the source code!
--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--
"Michael wrote or quoted: If the code is readable by the browser but no one else, that should do it. Make sure it's permissions are set to exclude world read.
*Normally* the browser is on the client - and PHP files are on the server.
--
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.
"karolina" <ra********@hotmail.com> wrote in message
news:c8**************************@posting.google.c om... 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/Produ...bfuscator.html.
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
might be you can put the script in the include directory and use zend to
encode it~
"Ira Baxter" <id******@semdesigns.com> ¦b¶l¥ó
news:ci********@enews1.newsguy.com ¤¤¼¶¼g... "karolina" <ra********@hotmail.com> wrote in message news:c8**************************@posting.google.c om... 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/Produ...bfuscator.html.
-- Ira D. Baxter, Ph.D., CTO 512-250-1018 Semantic Designs, Inc. www.semdesigns.com
"Ira Baxter" <id******@semdesigns.com> wrote in message
news:ci********@enews1.newsguy.com... "karolina" <ra********@hotmail.com> wrote in message news:c8**************************@posting.google.c om... 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.zend.com/store/products/z...uard-suite.php
It's not cheap, but it's very good.
Nel. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: MOHSEN KASHANI |
last post by:
Hi,
I am trying to hide some form elements in a form by default and show/hide
depending on which radio button is clicked. This is what I have but it is
not working:
<head>
<style>
..noshow {...
|
by: FP |
last post by:
I'm new to Java Script.
I'm displaying comments people have made. Below each persons' comment
I want to add 2 buttons "Reply" and "Amend". Clicking "Reply" would
display an empty text field...
|
by: asilverpeach |
last post by:
Hey Guys!
Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out.
First,
In the following code clicking on the headers shows the...
|
by: pamate |
last post by:
hi,
I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers.
...
|
by: sara |
last post by:
Hi -
Is it possible to hide the detail section of a report at run time?
I have a report that prints all details, with summary lines. The user
would like the report ALSO with just summary lines....
|
by: Liquidtouch |
last post by:
I have been searching on this for awhile and cant find anything and playing around with it got me no where. I will start with what I am after and then explain what I have.
I have a table with 3...
|
by: ryrocks |
last post by:
Hi,
Im making a 'contact us' page. The user click on the div, this then reveals another larger div displaying more information giving the effect of the box expanding or dropping down.
I have 3...
|
by: Ralph |
last post by:
Hi,
I was reading effictive C++ and some other books again and they all tell
you about hiding implementation details (proxy/pimpl/inheritance) but
they never really explain when to use it.
I...
|
by: Doogie |
last post by:
Hi I have an img control I am trying to hide upon certain types of
commands in my code behind. When to hide it is directly tied to a
asp:dropdownlist control. So depending on what the user...
|
by: Debadatta Mishra |
last post by:
Introduction
In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |