
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
apache_secure_download
Advanced tools
= apache_secure_download - Apache module providing secure downloading functionality, just like Mongrel Secure Download does for mongrel.
== VERSION
This documentation refers to apache_secure_download version 0.2.2
== DESCRIPTION
Place the following snippet in your Apache config:
RubyRequire /path/to/apache_secure_download
# or
#RubyRequire rubygems
#RubyRequire apache/secure_download
<Location /secure>
# pass your shared secret string to the handler -- secret means SECRET!
RubyAccessHandler Apache::SecureDownload.new("secret")
</Location>
And create links to your resources with timestamp and token:
require 'apache/secure_download/util'
timestamp = 1.minute.from_now # e.g. token = Apache::SecureDownload::Util.token("secret", path, timestamp)
url = path + "?timestamp=#{timestamp}&token=#{token}"
url = Apache::SecureDownload::Util.secure_url("secret", path, 1.minute.from_now)
url = Apache::SecureDownload::Util.secure_url("secret", path, :expires => 1.minute.from_now, :cache => 30)
url = Apache::SecureDownload::Util.secure_url("secret", path, :offset => 60)
See Apache::SecureDownload::Util.secure_url for more examples.
== LINKS
Documentation:: http://blackwinter.github.com/apache_secure_download Source code:: http://github.com/blackwinter/apache_secure_download RubyGem:: http://rubygems.org/gems/apache_secure_download
== AUTHORS
== LICENSE AND COPYRIGHT
Copyright (C) 2008-2012 University of Cologne, Albertus-Magnus-Platz, 50923 Cologne, Germany
Copyright (C) 2013 Jens Wille
apache_secure_download is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
apache_secure_download is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with apache_secure_download. If not, see http://www.gnu.org/licenses/.
FAQs
Unknown package
We found that apache_secure_download demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.