Zen Cart Logo
Forums / Basic Configuration / customer can't download fileafter purchase

customer can't download fileafter purchase

Views: 789

Results 1 to 4 of 4
17 Jul 2012, 8:38 PM
#1
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

customer can't download fileafter purchase

The error message:

You don't have permission to access /pub/.xkmdrzrmwernlxyisp/[FILENAME] on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

appears when a customer goes to download a purchased file. I use PayPal Express checkout. Is this a problem with permissions?

17 Jul 2012, 9:17 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: customer can't download fileafter purchase

What's the filename? More specifically, what's the extension? And is that extension included in the whitelist inside your /pub/.htaccess file?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Jul 2012, 9:34 PM
#3
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

Re: customer can't download fileafter purchase

Thank you so much for the reply, but I found the problem and want to share it with you. Actually, I found it with a further search through the forums.

Configuration>Attribute Settings
I had to change Download by Redirect to false.

From what I understand this is a less secure method, but my host must not support redirect. On a scale of 1-10, how bad is this as a solution?

18 Jul 2012, 2:38 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: customer can't download fileafter purchase

It's not bad. It's just that your customers can share the download links with their friends, who can download without paying. But if your customers are not the sort to do that, then maybe it's not a problem for your situation.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.