Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to Encode PHP files which have secure code?

Posted on 2009-04-14
1
362 Views
Last Modified: 2013-11-25
Hello,

I want to encode few php files which have secure information like Database details , connection path etc etc.

i was using ion Cube for encoding those files but i recently found it can be decode as well.

Can any one suggest any other software which i can use for encoding , so once it encode no one can decode it.

I'm having LAMP environment.

Thanks in Advance !!!

0
Comment
Question by:121doc
1 Comment
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 24137531
That isn't possible, sorry. all you can do is make the source more obscure, you can't prevent decryption - if the LAMP engines can decrypt it, then so can an attacker. Even if you compile your scripts down to an executable with all debugging information removed,  a skilled hacker can reverse-engineer the binary and get out the string, or simply run it under a test harness and see what data it sends where.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Knowing where your website is hosted is as important as the features you receive, the monthly fee, and the support you receive. Due diligence should be done when choosing your next hosting provider.
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

856 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