The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ftp code in Perl Raynon Shell Programming and Scripting 14 1 Hour Ago 06:30 PM
PERL Code talashil Shell Programming and Scripting 2 06-05-2008 10:13 PM
[PERL] Running unix commands within Perl Scripts userix Shell Programming and Scripting 1 05-28-2008 03:06 PM
Compile a code for running on boot d4n1l0d Filesystems, Disks and Memory 2 08-14-2006 11:44 AM
check my code?? running shell from c? abdul UNIX for Dummies Questions & Answers 1 09-03-2001 12:05 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-02-2003
Registered User
 

Join Date: Oct 2001
Location: Kansas
Posts: 18
Perl running C code

Ok, I am thinking about developing a small little web app to help teach C to people. So you can type some C code into a text area, then a CGI Perl script or something similar would compile the code, then possibly execute it showing the results in another text area.

My concern of course is malicious code. Is there anything that I can do protect my PC from someone coding in some evil kill all C code? Or is that a risk I take. Because if it is, I can't do it. I'm not that crazy.

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-02-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
that is a risk you will have to take. it is always possible. if its run in a chrooted environment, the web server as well, and you make sure you permissions are alright... then you will be a little bit safer. its not a bad idea though.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0