{"comment":{"url":"https://api.github.com/repos/tkomstadius/bruse/comments/10625794","html_url":"https://github.com/tkomstadius/bruse/commit/8702e483a1b0a9007499ba18180c8257e40933f9#commitcomment-10625794","id":10625794,"user":{"login":"klaseskilson","id":1674076,"avatar_url":"https://avatars.githubusercontent.com/u/1674076?v=3","gravatar_id":"","url":"https://api.github.com/users/klaseskilson","html_url":"https://github.com/klaseskilson","followers_url":"https://api.github.com/users/klaseskilson/followers","following_url":"https://api.github.com/users/klaseskilson/following{/other_user}","gists_url":"https://api.github.com/users/klaseskilson/gists{/gist_id}","starred_url":"https://api.github.com/users/klaseskilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaseskilson/subscriptions","organizations_url":"https://api.github.com/users/klaseskilson/orgs","repos_url":"https://api.github.com/users/klaseskilson/repos","events_url":"https://api.github.com/users/klaseskilson/events{/privacy}","received_events_url":"https://api.github.com/users/klaseskilson/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"8702e483a1b0a9007499ba18180c8257e40933f9","created_at":"2015-04-08T14:55:12Z","updated_at":"2015-04-08T14:55:12Z","body":"The idea is to use the `foreign_ref` attribute on the `BruseFile` to keep track of what we call the file on the server. I suggest we use `SecureRandom.uuid` to rename the files when they get uploaded. That way we keep the files anonymous and it will be harder to recognize them if someone without permission happens to access the server."}}