Attachment Permission (Images)

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
Exclusive
Registered User
Posts: 596
Joined: Mon Jun 25, 2018 1:33 pm

Attachment Permission (Images)

Post by Exclusive »

Is there any possible way of allowing guest to see images in a topic but can't download attachments like .txt, .pdf etc...??
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

Best Web Hosting with 99.9% Uptime! | ✔ Buy Cheap Domain Names
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51474
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Attachment Permission (Images)

Post by stevemaury »

You can limits attachments you don't want Guests to download to a forum or forums Guests can't see.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
Exclusive
Registered User
Posts: 596
Joined: Mon Jun 25, 2018 1:33 pm

Re: Attachment Permission (Images)

Post by Exclusive »

stevemaury wrote:
Sun Dec 02, 2018 6:21 pm
You can limits attachments you don't want Guests to download to a forum or forums Guests can't see.
How? Put more light!
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

Best Web Hosting with 99.9% Uptime! | ✔ Buy Cheap Domain Names
User avatar
John connor
Registered User
Posts: 2557
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: Attachment Permission (Images)

Post by John connor »

Exclusive wrote:
Sun Dec 02, 2018 5:30 am
Is there any possible way of allowing guest to see images in a topic but can't download attachments like .txt, .pdf etc...??
I don't think this is possible. If you set the permission for guests to view attachments then they can see and download those attachments. I think, though not sure if it's feasible is to have someone create an extension that allows guests to view attachments, but not able to right click and download them. But I have a strong felling that would use java script, and a savvy user would just disable JS in their browser and thus able to download the attachment. The extension would have to be crafted in such a way so users (guests) can't right click the attachment and download it.

Anyone have any other thoughts?
Having spam problems? Install this extension and/or this script.
How to help protect your site from hackers.
0FL ?FE<JKCP K?@EB PFL ;<:F;<;‌​​​​‌‌⁠‌‌​‌‌‌‌⁠‌‌​‌‌‌​⁠‌‌​​‌‌‌⁠‌‌‌​​‌​⁠‌‌​​​​‌⁠‌‌‌​‌​​⁠‌‌‌​‌​‌⁠‌‌​‌‌​​⁠‌‌​​​​‌⁠‌‌‌​‌​​⁠‌‌​‌​​‌⁠‌‌​‌‌‌‌⁠‌‌​‌‌‌​⁠‌‌‌​​‌‌⁠‌​​​​‌⁠‌​​​​​⁠‌​‌‌​​‌⁠‌‌​‌‌‌‌⁠‌‌‌​‌​‌⁠‌​​‌‌‌⁠‌‌‌​​‌​⁠‌‌​​‌​‌⁠‌​​​​​⁠‌‌‌​​‌‌⁠‌‌​‌‌​‌⁠‌‌​​​​‌⁠‌‌‌​​‌​⁠‌‌‌​‌​​⁠‌‌​​‌​‌⁠‌‌‌​​‌​⁠‌​​​​​⁠‌‌‌​‌​​⁠‌‌​‌​​​⁠‌‌​​​​‌⁠‌‌​‌‌‌​⁠‌​​​​​⁠‌​​‌​​‌⁠‌​​​​​⁠‌‌‌​‌​​⁠‌‌​‌​​​⁠‌‌​‌‌‌‌⁠‌‌‌​‌​‌⁠‌‌​​‌‌‌⁠‌‌​‌​​​⁠‌‌‌​‌​​⁠‌​‌‌‌​ K?@J D<JJ8><t +?@EB 8>8@Ec
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22647
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Attachment Permission (Images)

Post by Mick »

The big problem with that is once you've seen an image or an attachment, you've already downloaded it. I don't think there's an easy way to have images and links viewable but not right clickable.
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
warmweer
Jr. Extension Validator
Posts: 4949
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Attachment Permission (Images)

Post by warmweer »

Mick wrote:
Tue Dec 11, 2018 9:12 am
The big problem with that is once you've seen an image or an attachment, you've already downloaded it. I don't think there's an easy way to have images and links viewable but not right clickable.
There's an easy way to mislead users into thinking that it's not downloadable by putting a transparent image on top of the image, attachment or link. But anyone really interested in downloading will find a way to bypass that or just check the source of the page or the browser cache.
It's not worth putting any energy into that.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22647
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Attachment Permission (Images)

Post by Mick »

Yes, I saw somebody mentioned that on here a long time ago and I had a play with it myself but abandoned it because, as you say, it was too easy to circumvent and not worth the bother.
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
pikachuturkey
Registered User
Posts: 314
Joined: Wed Dec 20, 2006 10:34 pm
Location: Türkiye(Turkey)
Name: Rıza
Contact:

Re: Attachment Permission (Images)

Post by pikachuturkey »

İ think "Exclusive" wants that: guests can see images types attachment but they can't see and download other attachment types like txt, zip, pdf etc.
Health For Everyone ==> www.saglikforum.org
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 3950
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Attachment Permission (Images)

Post by thecoalman »

Exclusive wrote:
Tue Dec 11, 2018 12:29 am
stevemaury wrote:
Sun Dec 02, 2018 6:21 pm
You can limits attachments you don't want Guests to download to a forum or forums Guests can't see.
How? Put more light!
What he is suggesting is probably not ideal but is as close as you are going to get for what you want to do. Go into the ACP, on the posting tab on the left click "Manage attachment extension groups". Click the gear next to "Documents" on the next page. On the next page down the bottom you can limit what forums those extensions can be uploaded to, if you limit those extensions to forums where only registered users have permissions then guests would not have permissions to download them.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
Exclusive
Registered User
Posts: 596
Joined: Mon Jun 25, 2018 1:33 pm

Re: Attachment Permission (Images)

Post by Exclusive »

pikachuturkey wrote:
Tue Dec 11, 2018 10:47 am
İ think "Exclusive" wants that: guests can see images types attachment but they can't see and download other attachment types like txt, zip, pdf etc.
Exactly!
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

Best Web Hosting with 99.9% Uptime! | ✔ Buy Cheap Domain Names
User avatar
John connor
Registered User
Posts: 2557
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: Attachment Permission (Images)

Post by John connor »

You'll need an extension that provides some basic trickery to hinder a guest from downloading, but it won't be full proof.
Having spam problems? Install this extension and/or this script.
How to help protect your site from hackers.
0FL ?FE<JKCP K?@EB PFL ;<:F;<;‌​​​​‌‌⁠‌‌​‌‌‌‌⁠‌‌​‌‌‌​⁠‌‌​​‌‌‌⁠‌‌‌​​‌​⁠‌‌​​​​‌⁠‌‌‌​‌​​⁠‌‌‌​‌​‌⁠‌‌​‌‌​​⁠‌‌​​​​‌⁠‌‌‌​‌​​⁠‌‌​‌​​‌⁠‌‌​‌‌‌‌⁠‌‌​‌‌‌​⁠‌‌‌​​‌‌⁠‌​​​​‌⁠‌​​​​​⁠‌​‌‌​​‌⁠‌‌​‌‌‌‌⁠‌‌‌​‌​‌⁠‌​​‌‌‌⁠‌‌‌​​‌​⁠‌‌​​‌​‌⁠‌​​​​​⁠‌‌‌​​‌‌⁠‌‌​‌‌​‌⁠‌‌​​​​‌⁠‌‌‌​​‌​⁠‌‌‌​‌​​⁠‌‌​​‌​‌⁠‌‌‌​​‌​⁠‌​​​​​⁠‌‌‌​‌​​⁠‌‌​‌​​​⁠‌‌​​​​‌⁠‌‌​‌‌‌​⁠‌​​​​​⁠‌​​‌​​‌⁠‌​​​​​⁠‌‌‌​‌​​⁠‌‌​‌​​​⁠‌‌​‌‌‌‌⁠‌‌‌​‌​‌⁠‌‌​​‌‌‌⁠‌‌​‌​​​⁠‌‌‌​‌​​⁠‌​‌‌‌​ K?@J D<JJ8><t +?@EB 8>8@Ec
Post Reply

Return to “[3.2.x] Support Forum”