Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was tasked to build a Demo CD for a web-based application. The
applications runs on Linux + Apache + PHP. I would like to use minimal
Linux install for this Demo CD. The minimal OS on the CD must prevent
any file copy and file viewing. This is to prevent anyone from copying
the PHP files from the CD. What is the best way to achieve this?
What is the best minimal Linux distro for this purpose?
I understand that someone can potentially mount the Demo CD on another
Linux box, and copy the files that way. Is there is way to prevent
this?
What do you use to create Demo CDs for such applications?
The best choice you have is to build your application into an encrypted image, and then when the CD is run have the image extract to a ram disk at run time so that the files exist only in RAM. To avoid copying simply disallow switching of consoles and do not include the mount programs - take the source for mount and compile it into another program.
You're going to have to custom-code it on your own, unfortunately, but the rc.d boot process is fairly well-documented, you can plug your own custom de/en/cryption wrapper in fairly easily. I haven't heard of anyone doing it quite that way before but there is no technical reason it couldn't be done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.