Managing attachment extensions

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
57Chevy_Jeff
Registered User
Posts: 21
Joined: Sat Aug 05, 2023 6:16 pm

Managing attachment extensions

Post by 57Chevy_Jeff »

I need for registered users to upload attachments that are documents such as .doc, .pdf and .xls. I have the "Attachment settings" within the ACP adjusted appropriately. Ive been trying to work with the "Manage attachment extensions" features under the POSTING tab, but it isn't clear how that works (i.e., the difference between "Archive" and "downloadable", etc).

No matter what I do, I cannot add a document to a post through the "Attachments" feature in a post. When I click on "Add files", document files cannot be seen within my desktop folders.

Can someone advise me on this? Is there a tutorial on the phpBB forum that can help me get a better understanding of this matter?
Last edited by Mick on Wed Aug 14, 2024 6:28 am, edited 1 time in total.
Reason: Solved.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6197
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Managing attachment extensions

Post by thecoalman »

At this point there is really no difference except between images and the others. Images are served with image mime type so the browser displays it as image. Years ago the others would be served with appropriate mimetype so the users computer cold open it with the correct program(e.g. Word for .doc) but that was removed because of security concerns. Today they are all served using mimetype application/octet-stream which forces the browser to download file.

When adding extension just pick a group that seems appropriate. Under "Manage attachment extension groups" click the little green gear icon and make sure the group is allowed.

Something to be aware of, .doc, xls etc can contain viruses and checking for that is outside of the scope of phpBB security features. It shouldn't effect your forum but can certainly effect anyone downloading an infected file.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
57Chevy_Jeff
Registered User
Posts: 21
Joined: Sat Aug 05, 2023 6:16 pm

Re: Managing attachment extensions

Post by 57Chevy_Jeff »

Thanks the Coalman! It worked ;)

Return to “[3.3.x] Support Forum”