Welcome to WebmasterWorld Guest from 50.17.16.177

Forum Moderators: rogerd

Message Too Old, No Replies

Is there a reason NOT to allow people to upload their own avatars?

On your forum?

     
10:28 pm on Jan 3, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 17, 2008
posts: 161
votes: 0


I've always had it turned off and had people link to an image for there avatar.

I was thinking allowing people to do this.

Is webspace the only issue? If so, I have a lot of space and can turn it on.

But could there be security or any other issues?

11:15 pm on Jan 3, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 19, 2002
posts:1018
votes: 0


Go for it.

Are you using vB, SMF or something comparable? If so, you've got a bunch of avatar options.

11:20 pm on Jan 3, 2010 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


Security - image files can contain something other than an image, and hackers can attempt to (ab)use an upload script to upload code which can be run by the server, thus gaining access (there is a recent vulnerability in IIS [webmasterworld.com] that demonstrates this). Make sure you are checking the contents of the file and that it will not be executable.
12:10 am on Jan 4, 2010 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9685
votes: 0


One advantage of uploaded avatars is that you have more control over what displays. If the avatar is hosted remotely in a place controlled by the user, it's easy to change an acceptable image to something problematic.

A more complex alternative would be to allow uploading to another location you control and linking from the forum to those images. This keeps your prime location secure and also lets you offload some bandwidth if that's an issue.

9:36 pm on Jan 4, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 16, 2003
posts:992
votes: 0


Copyright and obscenity issues are two reasons you may not want people to upload their own.
3:26 pm on Jan 6, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 7, 2005
posts:636
votes: 0


I have avatars invisible to guest traffic. I also have them set to be uploaded to my server only. There are a few reasons for this, but it's mainly to prevent the kind of attacks that can be triggered from hotlinked images (damned if you do, damned if you don't) and another key issue is that offsite avatars can slow down your pages.