News for hackers. Stuff that matters.
Re:A web server in a shell script by cosgroveb on Tuesday November 02, 2010 @05:06PM (#1862352)
The author points this out but it probably bears repeating: this implementation is insecure as it exposes your entire filesystem to anyone who can connect to your port 80. Use with caution :)
Re:A web server in a shell script by notaddicted on Tuesday November 02, 2010 @05:53PM (#1862536)
Use with caution ... and chroot.
Re:A web server in a shell script by adamdecaf on Tuesday November 02, 2010 @05:29PM (#1862439)
The joy of VM's.
Re:A web server in a shell script by adambyrtek on Tuesday November 02, 2010 @08:30PM (#1863048)
Yeah, you should totally deploy a separate virtual machine just to serve files from a toy Bash web server (irony).
Re:A web server in a shell script by scotth on Tuesday November 02, 2010 @09:39PM (#1863233)
He's right. The joy of VMs is that they let you play while throwing caution to the wind. Tone down the snarkiness.
Re:A web server in a shell script by adambyrtek on Wednesday November 03, 2010 @05:16AM (#1864267)
Virtual machines are great for isolation and defense in depth, not as the only security measure. It's like believing that a firewall will magically solve all your network security problems.

For experiments relying on that is fine, but not for anything more serious.