should user avatars be saved in a private directory?

拜拜、爱过 提交于 2019-12-13 04:46:57

问题


I am building a community site and i'm currently writing a script that generates thumbnails and stores them on our filesystem.

Should I be storing the avatars in a private directory? or is it OK for that type of file to be in a public assets directory like a CDN?

why or why not?


回答1:


After searching around and looking at other sites. Google Plus in particular does not save their avatars in a private directory.

In fact, their avatars are accessed from a public CDN and are served up and mixed in with actual search results.

So I guess the answer is no, it isn't necessary to make avatars private



来源:https://stackoverflow.com/questions/11888877/should-user-avatars-be-saved-in-a-private-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!