
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
= Sinatra::Warden
A Sinatra (http://github.com/sinatra/sinatra) module that provides authentication for your Sinatra application through Warden (http://github.com/hassox/warden).
== Usage
require 'sinatra' require 'sinatra_warden'
class Application < Sinatra::Base register Sinatra::Warden
get '/admin' do
authorize!('/login') # require session, redirect to '/login' instead of work
haml :admin
end
get '/dashboard' do
authorize! # require a session for this action
haml :dashboard
end
end
== More Information
Please read the wiki (http://wiki.github.com/jsmestad/sinatra_warden) for more information on more advanced configurations.
== Note on Patches/Pull Requests
$ git clone git://github.com/jsmestad/sinatra_warden.git $ cd sinatra_warden $ bundle install $ bundle exec rake
== Contributors
== Copyright
Copyright (c) 2009 Justin Smestad. See LICENSE for details.
FAQs
Unknown package
We found that sinatra_warden demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.