softwaresea.com

CGI::Application::Plugin::LinkIntegrity Free Download

CGI::Application::Plugin::LinkIntegrity Ranking & Summary

Ranking: Click at the star to rank
User Review: 0 ( times ) Download now
File Size: -
OS: -
License: Perl Artistic License
Price: FREE
Downloads:
Publisher: Michael Graham
Homepage: http://search.cpan.org/~mgraham/Test-FormValidator-0.06/lib/Test/FormValidator.pm

CGI::Application::Plugin::LinkIntegrity Tags

CGI::Application::Plugin::LinkIntegrity Description

CGI::Application::Plugin::LinkIntegrity can make tamper-resisistent links in CGI::Application.
CGI::Application::Plugin::LinkIntegrity can make tamper-resisistent links in CGI::Application.SYNOPSISIn your application: use base 'CGI::Application'; use CGI::Application::Plugin::LinkIntegrity; sub setup { my $self = shift; $self- >link_integrity_config( secret = > 'some secret string known only to you and me', ); } sub account_info { my $self = shift; my $account_id = get_user_account_id(); my $template = $self- >load_tmpl('account.html'); $template- >param( 'balance' = > $self- >link("/account.cgi?rm=balance&acct_id=$account_id"); 'transfer' = > $self- >link("/account.cgi?rm=transfer&acct_id=$account_id"); 'withdrawal' = > $self- >link("/account.cgi?rm=withdrawl&acct_id=$account_id"); ); }In your template: < h1 >Welcome to The Faceless Banking Corp.< /h1 > < h3 >Actions:< /h3 > < br / >< a href="< TMPL_VAR NAME="balance" >" >Show Balance< /a > < br / >< a href="< TMPL_VAR NAME="transfer" >" >Make a Transfer< /a > < br / >< a href="< TMPL_VAR NAME="withdrawal" >" >Get Cash< /a >This will send the following HTML to the browser: < h1 >Welcome to The Faceless Banking Corp.< /h1 > < h3 >Actions:< /h3 > < br / >< a href="/account.cgi?rm=balance&acct_id=73&_checksum=1d7c4b82d075785de04fa6b98b572691" >Show Balance< /a > < br / >< a href="/account.cgi?rm=transfer&acct_id=73&_checksum=d41d8cd98f00b204e9800998ecf8427e" >Make a Transfer< /a > < br / >< a href="/account.cgi?rm=withdrawl&acct_id=73&_checksum=3c5ad17bdeef3c4281abd39c6386cfd6" >Get Cash< /a >The URLs created are now tamper-resistent. If the user changes acct_id from 73 to 74, the _checksum will not match, and the system will treat it as an intrusion attempt. Requirements:
· Perl

CGI::Application::Plugin::LinkIntegrity Related Software

CGI::Application::Plugin::CHI CGI-App plugin for CHI caching interface File size: -
Download now
Perl module cgi caching CGI-App plugin  
CGI::Application::Plugin::FillInForm CGI::Application::Plugin::FillInForm is a Perl module to integrate with HTML::FillInForm. File size: -
Download now
Perl module cgi form CGI application  
CGI::Application::Plugin::MessageStack CGI::Application::Plugin::MessageStack is a message stack for your CGI::Application. File size: -
Download now
message Perl module stack message stack  
CGI::Application::Plugin::DBIProfile CGI::Application::Plugin::DBIProfile is a DBI profiling plugin. File size: -
Download now
Perl module cgi DBI DBI plugin DBI profiling profiling  
CGI::Application::Plugin::YAML YAML methods for CGI::App File size: -
Download now
Perl module perl wrapper YAML methods  

CGI::Application::Plugin::LinkIntegrity Company

CGI::Application::Plugin::LinkIntegrity Reviews