Solved

php protect work

Posted on 2013-11-13
4
314 Views
Last Modified: 2013-11-13
I want to prevent others from copying my work. I have generated php file uploaded to my server and running my site. Now if someone goes into the web browser and does "view source" he can see my code. How can I prevent that?

I know that there is software called php codelock....but is that for the actual php files themselves? Any ideas?
0
Comment
Question by:Starquest321
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39646148
You cannot see the php code with "view source". Only the generated output (usually HTML).

HTH,
Dan
0
 

Author Comment

by:Starquest321
ID: 39646159
OK - - - so if they don't have the original file my code is safe from external browser, right?
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39646172
Yes, your web visitors cannot view your code.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39646327
If you wanted to be safe from prying eyes on the server, you could use IonCube or Zendloader to encrypt your PHP.  They are not free however and must be installed on the server.  You can't install them on shared hosting but some hosts do have those available.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now