I rather found the easiest way to do this. Problem is I don't know about the security issues. But it solved my problem. You have to have real IP to do this.
open terminal, change the directory which one you want to share.
# requires Python 2.4
$python -m SimpleHTTPServer
# older Python
$python -c "from SimpleHTTPServer import test; test()"
$python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
#on your localhost