| | #1 |
| Warrior Member Join Date: 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
hello, i am developing a image selling website. people can download image after payment complete. ( paypal am using as payment getway) after payment the image url will be sent to the mail . these images located in ' sellimage ' folder on my server. the problem is if some one know about this folder (mywebsiteurl/selimage ) they can download all files !!!!! how this type of website working , how can i do it securely ??? any idea thanks in advance |
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Internet
Posts: 101
Thanks: 31
Thanked 19 Times in 12 Posts
Blog Entries: 1 |
You can block the folder through htaccess. Also on download do not deliver the image directly, deliver it through something like readfile() function.
|
| | |
| |
| | #3 |
| HyperActive Warrior Join Date: 2011
Posts: 125
Thanks: 4
Thanked 9 Times in 8 Posts
|
Like the above poster said, htaccess might be your best option.
|
| | |
| |
| | #4 |
| Marketing with an accent. War Room Member Join Date: 2010 Location: Switzerland
Posts: 556
Thanks: 103
Thanked 179 Times in 135 Posts
|
For a business model like this, I would recommend using a professional content protection solution. For Wordpress, I can recommend DAP WordPress Membership Plugin - Membership Script For WordPress Blogs And Regular Web Sites - no affiliate link. Cheers, Rob |
| ================================================== === This blog is awesome: http://www.robkonrad.com/blog. Read it. ================================================== === | |
| |
| The Following User Says Thank You to RobKonrad For This Useful Post: |
| | #5 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Tokyo
Posts: 314
Thanks: 27
Thanked 43 Times in 42 Posts
|
Im sure there are many pre-made systems that already do what you want to do. My favorite CMS system is jamroom Jamroom: The Musician Community Builder It has the ability for you to sell photos. (or allow your users to upload and sell their photos) |
|
"Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers." | |
| |
|
| Bookmarks |
| Tags |
| needed, php |
| |