Results 1 to 1 of 1
- 10-05-2011, 10:43 PM #1Member
- Join Date
- Jan 2010
- Rep Power
Security Concerns with a basic HTTP server
Hi there, I am currently working on a project to create my own HTTP server using Java. The server is working great for generating headers and serving content from the machine. Now that I have the thing working, what are some security measures that I should put in place? Basically I have ServerSocket on port 80 that will allow multiple clients to connect and I use synchronized threads to serve content from a database based on the request headers that are sent. Pretty much what you would expect...
So what steps should I take to make sure that this server is running securely? Is it possible that someone could send commands through this socket or something similar? In other words, I want to make sure that this server is ONLY used for HTTP purposes so I want it to be open to anyone but I don't want anything malicious to get through.
- By srinathscion in forum Advanced JavaReplies: 0Last Post: 08-01-2011, 11:50 AM
- By MichaelH in forum NetworkingReplies: 6Last Post: 05-06-2011, 08:45 PM
- By abhinav04sharma in forum NetworkingReplies: 0Last Post: 02-28-2011, 04:43 AM
- By adel.ejjeh in forum NetworkingReplies: 0Last Post: 01-18-2011, 11:29 AM
- By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM