{"action":"created","issue":{"url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/6","labels_url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/6/comments","events_url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/6/events","html_url":"https://github.com/floatinghotpot/cordova-httpd/issues/6","id":49723279,"number":6,"title":"localhost only","user":{"login":"stutteringp0et","id":310899,"avatar_url":"https://avatars.githubusercontent.com/u/310899?v=3","gravatar_id":"","url":"https://api.github.com/users/stutteringp0et","html_url":"https://github.com/stutteringp0et","followers_url":"https://api.github.com/users/stutteringp0et/followers","following_url":"https://api.github.com/users/stutteringp0et/following{/other_user}","gists_url":"https://api.github.com/users/stutteringp0et/gists{/gist_id}","starred_url":"https://api.github.com/users/stutteringp0et/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stutteringp0et/subscriptions","organizations_url":"https://api.github.com/users/stutteringp0et/orgs","repos_url":"https://api.github.com/users/stutteringp0et/repos","events_url":"https://api.github.com/users/stutteringp0et/events{/privacy}","received_events_url":"https://api.github.com/users/stutteringp0et/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-21T17:18:04Z","updated_at":"2015-10-10T17:04:49Z","closed_at":"2014-11-22T16:39:20Z","body":"My reason for looking into this project is a series of javascripts which will not run unless called from a server (such as cordovajs).  I don't particularly need or want anyone outside the device to access the files.\r\n\r\nIs it possible to restrict this service to localhost on the device?"},"comment":{"url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/comments/147110269","html_url":"https://github.com/floatinghotpot/cordova-httpd/issues/6#issuecomment-147110269","issue_url":"https://api.github.com/repos/floatinghotpot/cordova-httpd/issues/6","id":147110269,"user":{"login":"dragGH102","id":5430550,"avatar_url":"https://avatars.githubusercontent.com/u/5430550?v=3","gravatar_id":"","url":"https://api.github.com/users/dragGH102","html_url":"https://github.com/dragGH102","followers_url":"https://api.github.com/users/dragGH102/followers","following_url":"https://api.github.com/users/dragGH102/following{/other_user}","gists_url":"https://api.github.com/users/dragGH102/gists{/gist_id}","starred_url":"https://api.github.com/users/dragGH102/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragGH102/subscriptions","organizations_url":"https://api.github.com/users/dragGH102/orgs","repos_url":"https://api.github.com/users/dragGH102/repos","events_url":"https://api.github.com/users/dragGH102/events{/privacy}","received_events_url":"https://api.github.com/users/dragGH102/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T17:04:49Z","updated_at":"2015-10-10T17:04:49Z","body":"@stutteringp0et when I set localhost_only = true, I get (probably because I'm running Cordova within Meteor whose server runs at \"meteor.local\".\r\nWhat does localhost_only flag do exactly? Does it expose the server to the Internet? \r\nI'm using httpd to serve file locally, But I'm afraid of potential security issues"}}