GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Jun-2004, 20:02
lenix lenix is offline
New Member
 
Join Date: Jun 2004
Posts: 2
lenix is on a distinguished road

security threats with socket server


im writing a socket server that will act as a http server that takes user input that is validated and executes a few system calls and outputs html

what security risks can i encounter?
  #2  
Old 05-Jun-2004, 07:24
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
Quote:
Originally Posted by lenix
im writing a socket server that will act as a http server that takes user input that is validated and executes a few system calls and outputs html

what security risks can i encounter?

Hi lenix. Welcome to GIDForums. When you say that this will act a http server what do you mean exactly? Are you wanting to communicate on port 80? You may want to open up another port to do this possibly depending on what you are doing.

There are always security risks in allowing traffic onto your machine. The only secure machine is one that is not hooked up to the internet. But that isn't much use now is it.

Full security is beyond my meager background. I also think that it is a continual process. Every day there are security updates to all kinds of computer packages because a new exploit was found.

Anyway, if you give some more info on what you are doing maybe someone here can help a little more. It sounds like an intriguing problem and actually one that I am working on myself for a project.

Cheers,
d
  #3  
Old 05-Jun-2004, 07:56
lenix lenix is offline
New Member
 
Join Date: Jun 2004
Posts: 2
lenix is on a distinguished road
yea .....

well its not really an actual HTTP SERVER that gives the WWW access w/out knowing what they're doing ...


basically its a 'control panel' in an essence... you goto port ANY/USERDEFINED and it outputs based on your input .. the output is html .. you first 'login' then it outputs the first page ... management options, etc... click add user blah blah then the prog parses the GET and it says ok add this user here ...

now... i have written this method in c++ .. i have verified that all my strings are secure and should have no buffer overflow capabilities ...

this prog is using sockets to create the 'server' ... i was curious if there was any other method of someone creating a security threat...


thanks for your response
 
 

Recent GIDBlogDeveloping GUIs with wxPython (Part 4) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PROGRAM] Winsock Programming Max Payne MS Visual C++ / MFC Forum 1 08-Mar-2007 23:38
Running Your Own Web Server Rajaat Web Hosting Forum 9 05-Jan-2005 21:54
can't ping apache on redhat 9 by server name semsem Computer Software Forum - Linux 13 16-May-2004 08:32
how to use our PC as a webmail server? razahasnain Web Hosting Forum 3 17-Jan-2004 18:24
· Windows 2003 Server Reseller Special: Unlimited Domains/2 GB Space/for $19.99 contactsonia Web Hosting Advertisements & Offers 0 09-Jan-2004 05:46

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:37.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.