Login to Download

Viewing 5 posts - 1 through 5 (of 5 total)
#207684

Varinder Singh
Participant

I need hep for the following issue:
The file that is created using Download Manager has a pdf link. Only registered users are allowed to have access to the download.
The page template is such that, under the Abstract, there is Login button. When the user has to download the pdf file, he has to sign in. The login form is shown as Pop-Up. Ones the user is logged in the Login button gets replaced by Download button.
NOW I want to restrict the access the Download to certain countries. For eg. users from Country A, B & G will not have access to download. For this I purchased AIOS and Login/ signup page was listed for NO ACCESS for those countries. Now if the user is accessing the Login from the Menu, the restriction works. But when the user clicks on Login to Download button , the Login popup is not getting restricted.

Sociability and Dominance: Extraversion’s Competing Subdimensions

Please suggest a solution.

#207686

Tahasin
Moderator

Hello,
Thanks for reaching out.

Maybe the popup login bypasses country restrictions, which may cause it to reappear for users from restricted regions. You can try using the IP blocking option, but applying country-level restrictions this way may require blocking a large number of IP addresses.
A more effective and scalable solution would be to use the wpdm_before_download filter to block access based on country.

Please check and let me know.
Regards

#207691

Varinder Singh
Participant

The website has almost 50 such files. Where can it be done.

Country level restriction is being done by All In One Security pluggin. It has a list of countries, which can be selected. No IP is to be selected.

#207692

Varinder Singh
Participant

I request you to kindly check it by visiting the website and checking the page.
The downloads are under Archive. You can check the first Category (Volume 24, No 2)

#207695

Tahasin
Moderator

I am checking. Also, I was referring to Download Manager settings option ‘Blocked IPs”.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.