Notifications
Clear all

wpForo 1.x.x [Closed] Protect attachments

4 Posts
2 Users
0 Reactions
1,013 Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

I know this has been talked before but there must be a way to protect posts attachments from any visitor that knows the url. At least force him to register or something.

Recently i have done some work for a script and posted it as attachment in a wpForo forum and after i while i found the attachment link posted in several place.

Thanks

Topic Tags
3 Replies
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Searching i found this:

https://wordpress.stackexchange.com/questions/194820/prevent-image-from-being-accessible-via-url-as-a-post

for Wordpress images and attachments. Maybe it could be modified to work for wpForo attachments ?

Or do something like that ?

1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4900

@anonymous20

the wpForo developers will find some workaround for this in future updates. I've already let them know.

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

@sofy Thank you.

I'm looking for a quick and simple solution for this, something like "if a visitor is pointing to an attachment link, redirect him to something else".