Pottery Posted October 6, 2010 Share 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? Link to comment Share on other sites More sharing options...
kaotkbliss Posted October 6, 2010 Share 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? 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Pottery Posted October 6, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
Pottery Posted October 6, 2010 Author Share 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? Link to comment Share on other sites More sharing options...
kaotkbliss Posted October 6, 2010 Share 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. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Pottery Posted October 6, 2010 Author Share Posted October 6, 2010 I found a way where cracking the client won't do anything, thanks for your suggestions . Link to comment Share on other sites More sharing options...
KaFu Posted October 6, 2010 Share 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-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) 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 (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now