670 users online
Register
Log in
Shopping Cart
(0)
Home
Product
Overview
Features
Store demo
Screenshots
Showcase - live shops
Copyright Notice Removal
System Requirements
Roadmap
Contribute
Team Members
License
Downloads
Download nopCommerce
Extensions
Release Notes
Support
Documentation
Forums
Partners
Recommended Hosting
Solution Partners
Become a Partner
Community sponsorship program
My Account
Contacts
Tweet
Home
/
Forums
/
General
/
Security
/
Secure Downloads in 2.3?
Secure Downloads in 2.3?
Reply
dellams
Total Posts:
23
Karma:
125
Joined:
9/18/2010
Location:
United Kingdom
PM
Posted:
3 months ago
Quote
Hi there,
Just before I roll my own, I wanted to check whether there was any support for secure downloads? i.e. At the moment our downloads can be downloaded anytime if you know the exact download URI.
I was going to implement my own secure download page, which would validate that the user is authenticated and whether they had access to that download (i.e. have ordered and paid for it).
Thanks.
D.
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
infiniti
Total Posts:
106
Karma:
1036
Joined:
10/4/2011
Location:
Pakistan
PM
Posted:
3 months ago
Quote
Well its not that insecure. Every time you purchase a new product you get a unique opvId for that download. Yes that can be downloaded by anyone who knows it but to be fair if someone can share the link they can also share the downloaded file with someone else you can't stop that. But you are right it is a security risk and should check if the right user is logged in or not.
I would let the developers decide if its worth the effort :-)
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
Thanks & Regards,
Babur.
a.m.
Total Posts:
6513
Karma:
44347
Joined:
10/22/2008
Location:
Russia
PM
Posted:
3 months ago
Quote
Just set 'customersettings.downloadableproductsvalidateuser' setting to 'true'
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
Andrei Mazoulnitsyn,
LinkedIn - http://ru.linkedin.com/in/mazoulnitsyn
Twitter - http://twitter.com/#!/nopCommerce
Facebook community page - http://www.facebook.com/pages/NopCommerce/108282972527146
Google+ page - https://plus.google.com/100073150079669136049
infiniti
Total Posts:
106
Karma:
1036
Joined:
10/4/2011
Location:
Pakistan
PM
Posted:
3 months ago
Quote
Andrei, I suggest that there should be a running list of all the setting with just a one liner description on the developer documentation page. Sometimes I am surprised how capable nopC is and we even don't know many things yet. This would also make it easier to search in the descriptions.
It would be difficult but for one time only after that only any new setting can be added to it.
1
Please
login or register
to vote for this post.
(click on this box to dismiss)
Thanks & Regards,
Babur.
dellams
Total Posts:
23
Karma:
125
Joined:
9/18/2010
Location:
United Kingdom
PM
Posted:
3 months ago
Quote
Thanks for the replies. Yeah, after posting I discovered that setting after carefully checking the download code, I haven't got round to checking it works but by looking at the code, it does exactly what I had in mind.
I agree, it would be a good idea to make it clearer of what all the global settings mean and document it as suggested. I only discovered this setting after looking through the code.
0
Please
login or register
to vote for this post.
(click on this box to dismiss)