{"action":"opened","issue":{"url":"https://api.github.com/repos/etsy/morgue/issues/57","labels_url":"https://api.github.com/repos/etsy/morgue/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/etsy/morgue/issues/57/comments","events_url":"https://api.github.com/repos/etsy/morgue/issues/57/events","html_url":"https://github.com/etsy/morgue/issues/57","id":59355491,"number":57,"title":"config file etc. accessible via web","user":{"login":"cyberrodent","id":290200,"avatar_url":"https://avatars.githubusercontent.com/u/290200?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberrodent","html_url":"https://github.com/cyberrodent","followers_url":"https://api.github.com/users/cyberrodent/followers","following_url":"https://api.github.com/users/cyberrodent/following{/other_user}","gists_url":"https://api.github.com/users/cyberrodent/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberrodent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberrodent/subscriptions","organizations_url":"https://api.github.com/users/cyberrodent/orgs","repos_url":"https://api.github.com/users/cyberrodent/repos","events_url":"https://api.github.com/users/cyberrodent/events{/privacy}","received_events_url":"https://api.github.com/users/cyberrodent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T19:55:01Z","updated_at":"2015-02-28T19:55:01Z","closed_at":null,"body":"The setup as described in the README leaves the config file accessible from the web.  Also, the phplib etc files are similarly accessible.\r\n\r\neg: http://localhost:8000/config/development.json\r\n\r\nThere are a few approaches that could be taken:\r\na) work your web server to config to deny access to sensitive files\r\nb) change up the file layout in the app to isolate the web-accessible stuff\r\n\r\nI'm working on a \"b\" style patch.\r\n"}}