LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This 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


Reply
  Search this Thread
Old 06-05-2005, 01:27 AM   #1
saqib_ali
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
Question Building Demo CDs using Linux


Hello Linux dsitro experts,

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?

Thanks
Saqib Ali
 
Old 06-05-2005, 03:55 AM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
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.
 
Old 06-05-2005, 11:33 AM   #3
saqib_ali
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hello,

This seems like a good idea. Can you please point me to some documentation, that can help get started on this.

Thanks.
Saqib Ali
 
Old 06-07-2005, 05:46 PM   #4
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia 3D demo for linux mac1234mac Linux - Games 2 09-14-2005 10:19 AM
Building Demo CDs using Linux saqib_ali Linux - Security 1 06-05-2005 03:12 AM
Where to buy cheap Linux Cds - especially Live Cds fleeced Linux - Newbie 2 05-31-2004 09:33 AM
UT2004 for Linux DEMO out! Thetargos Linux - Games 123 05-06-2004 08:43 PM
Demo Linux TX_metalhead Linux - General 1 02-16-2002 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration