The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages 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 21 09-11-2008 03:44 AM
PERL Code talashil Shell Programming and Scripting 2 06-06-2008 01:13 AM
[PERL] Running unix commands within Perl Scripts userix Shell Programming and Scripting 1 05-28-2008 06:06 PM
Compile a code for running on boot d4n1l0d Filesystems, Disks and Memory 2 08-14-2006 02:44 PM
check my code?? running shell from c? abdul UNIX for Dummies Questions & Answers 1 09-03-2001 03:05 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-02-2003
gdboling gdboling is offline
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.
  #2 (permalink)  
Old 09-02-2003
norsk hedensk norsk hedensk is offline Forum Advisor  
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0