design - Why renaming uploaded files to a public Web site may be important? -


this not question self, question think other web site designers should/could ask themselves.

below context followed own answer question:

why renaming uploaded files may important?

(especially when upload done public (registered or not) users)

context:

today (2015-04-26), searching images content on internet to, later, show below 2 years old little girl.
got many expected results except 1 particularly weird looking and, later, particularly potentially troubling / shocking (sexuality matters...) little ones.
never know how people may transform innocent stuff harmful content...

the problem search engine took relevant result uniquely based on file name embedded in html code of page, page not showing explicit/particular title.

so, recommend following solution(s):

  • rename file using random string generator utilised generate passwords.

  • it can done @ uploading time stored file, while keeping copy of original file name in db. (lesser occupied space + lesser processing power involved)

  • it can done via internal references content management system (cms) of web site while keeping original file name is, locally. (this allow keep unchanged uploaded file without using space "usable copy")

limitation(s) of solution:

now, agree issue can re-surface else, page title, page content, etc...
so, i'm conscient suggestion doesn't bring "the" solution, "a" limited solution problem.
but, if can @ earlier stage prevent or, @ least, reduce, more kind of issues appear, why not give try?

for other source of information helping build db of search engines, generally, web site administrators more careful points of potential issues meaning of name of uploaded file.
(except, sometimes, naming compatibility os of web server...) ;-)

best regards,

hps

(*) search engine safety parameters may against kind of issues, know. but, if can done earlier, helping other protections work better. no?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -