Pottery Posted October 6, 2010 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?
kaotkbliss Posted October 6, 2010 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!
Pottery Posted October 6, 2010 Author 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.
Pottery Posted October 6, 2010 Author 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?
kaotkbliss Posted October 6, 2010 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!
Pottery Posted October 6, 2010 Author Posted October 6, 2010 I found a way where cracking the client won't do anything, thanks for your suggestions .
KaFu Posted October 6, 2010 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 (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
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