Pottery 0 Posted October 6, 2010 Is there any way to make downloads more secure? I'm making a downloader for my website so that I don't have to sit there and send the files to people after they paid for them and then again if they lose the file or need to re-download it for some reason. I'm worried about the link though, if someone were to get their hands on the source code they would find the link.. so is there any way to do this differently? On the GUI, you have to type in a special code given to you after the payment and it would download from http://example.net/files/yourkeyhere. So is there any more secure way of attempting this? Share this post Link to post Share on other sites
kaotkbliss 146 Posted October 6, 2010 you could write a registry key on the first run of the program, then at any point if they need to redownload it, it could compare the registry to the link, if they don't match or the key is not present, then someone is trying to cheat. However, if for some reason someone buys a new computer and formats, then the registry key is gone. Maybe it is something to build on though? 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
Pottery 0 Posted October 6, 2010 you could write a registry key on the first run of the program, then at any point if they need to redownload it, it could compare the registry to the link, if they don't match or the key is not present, then someone is trying to cheat. However, if for some reason someone buys a new computer and formats, then the registry key is gone.Maybe it is something to build on though?If they decompile it the link would still be visible though :SI was thinking maybe use a unique key as a password for the file download, not sure how that would work though. Share this post Link to post Share on other sites
Pottery 0 Posted October 6, 2010 Furthering that idea, is it possible to password protect a file download; for example requiring a password when you go to http://example.net/files/something.exe? Share this post Link to post Share on other sites
kaotkbliss 146 Posted October 6, 2010 There are so many things you can do to try and protect, but the problem will always persist. Even multi-million $ software companies lose out to pirates. You could compress the exe into a password protected rar or zip file You could have a password protected website you could make a combination of many types, but the more hoops people will have to jump through just to get the software, the less likely they will follow through. 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
Pottery 0 Posted October 6, 2010 I found a way where cracking the client won't do anything, thanks for your suggestions . Share this post Link to post Share on other sites
KaFu 295 Posted October 6, 2010 I guess this would be a task for php . Password protect the download directory with .htaccess. Dynamically add the users to the .htpasswd file, use the users Email address as the username. This way you can track if a certain user suddenly downloads the file 100 times from different IP-Addresses and kindly ask em how this could happen ... OS: Win10-1909 - 64bit - German, AutoIt Version: 3.3.14.5, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2019-Dec-21) BIC - Batch-Image-Cropper (2019-Dec-11) COP - Color Picker (2009-May-21) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2019-Dec-07) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Share this post Link to post Share on other sites