Hey Guys,
this is my first module and I hope, someone else has a use for it.
It generates a .htaccess file at the assets/files/$id folder when a file is uploaded and generates a unique hash for each download.
This is the content of the created htaccess with the changed filename.
<Files "$yourfilename">
Order Allow,Deny
Deny from all
</Files>
Some styling and changed etc. can be done in the installed dg_ template files. I changed the mechanics a bit, so i think that the dg_download.php could be deleted for the next release.
You can access all Downloads you created through your unique file id.
For example: http://example.com/downloads/hash/6ffbb022729a7e0f41cf74c28092731454c953655a884/ change the part behind the /hash/ to your unique file hash.
If someone has some additions or somethings isn't working please reply. I'm looking forward to your feedback. I need it, because it's my first module!
Best regard,
Martin