This is a normal and safe way, to protect store owner files. But some store owners think it is necessary to do so, because we already have a hashed key in the link something like below.
http://prestashop-addons.com/get-file.php?key=7ce9ab5kdsdfddccfcc.....c392ebe948b2bbfbebf68e
I also agree, because
So if you really want make it convenience for customer to download from link in email without logging in, you can make following changes to make this happen.
comment out following two lines (line 55,56) in file get-file.php
//if (!$cookie->isLogged())
// Tools::redirect('authentication.php?back=get-file.php&key='.$key);
No comments:
Post a Comment