{"action":"opened","issue":{"url":"https://api.github.com/repos/ignacionelson/ProjectSend/issues/183","repository_url":"https://api.github.com/repos/ignacionelson/ProjectSend","labels_url":"https://api.github.com/repos/ignacionelson/ProjectSend/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/ignacionelson/ProjectSend/issues/183/comments","events_url":"https://api.github.com/repos/ignacionelson/ProjectSend/issues/183/events","html_url":"https://github.com/ignacionelson/ProjectSend/issues/183","id":177474941,"number":183,"title":"Suggestion: File upload renaming to randomized character string","user":{"login":"crashff00","id":14809570,"avatar_url":"https://avatars.githubusercontent.com/u/14809570?v=3","gravatar_id":"","url":"https://api.github.com/users/crashff00","html_url":"https://github.com/crashff00","followers_url":"https://api.github.com/users/crashff00/followers","following_url":"https://api.github.com/users/crashff00/following{/other_user}","gists_url":"https://api.github.com/users/crashff00/gists{/gist_id}","starred_url":"https://api.github.com/users/crashff00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crashff00/subscriptions","organizations_url":"https://api.github.com/users/crashff00/orgs","repos_url":"https://api.github.com/users/crashff00/repos","events_url":"https://api.github.com/users/crashff00/events{/privacy}","received_events_url":"https://api.github.com/users/crashff00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T17:08:55Z","updated_at":"2016-09-16T17:08:55Z","closed_at":null,"body":"With the problems experienced renaming files for upload (i.e. latin characters, underscores, unrecognized characters, etc)  I was thinking it may be more efficient if the system renamed the files to a randomized Hex string at the time of upload.\r\n\r\nYour file starts as \"some long name created by word when you save.docx\" .\r\nWhen you upload the file to PS, PS stores that original file name in the database, but renames the file itself as \"F01517CA1569.file\" for storage. You could even add a number check to see if the random file name is already in use and generate another one if it is.\r\n\r\nBy using a standardized file naming convention ( and adding a nonsense extension on the end like .file), could alleviate some issues like file storage and reference, and possibly mitigate some security issues like executable files or macros being snuck into your system. Randomizing the file name each time it's uploaded would prevent someone from trying to upload a file over the top of another pre-existing copy, and you you're less likely to have people trying to delete files from the backend/ftp upload side and wreaking havoc (like in my office)\r\n\r\nMany secure file downloads from banks and government agencies do this to prevent people from knowing what a file contains before they can access the file."}}
{"actor":{"display_login":"crashff00"}}