Catalyst-Plugin-HashedCookies

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    cookies from those that have been edited or created by a malicious user.

    This module allows you to determine whether a cookie presented by a
    client was created in its current state by your own application.

  Implementation
    HashedCookies adds a keyed cryptographic hash to each cookie that your
    application creates, and checks every client-provided cookie for a valid
    hash.

    This is done in a transparent way such that you do not need to change
    any application code that handles cookies when using this plugin. A
    cookie that fails to contain a valid hash will still be available to
    your application through "$c->request->cookie()".

    Two additional methods within the Catalyst request object allow you to
    check the status (in other words, the vailidity) of your cookies.

METHODS
  Catalyst Request Object Methods
    "$c->request->valid_cookie($cookie_name)"

lib/Catalyst/Plugin/HashedCookies.pm  view on Meta::CPAN

that have been edited or created by a malicious user.

This module allows you to determine whether a cookie presented by a client was
created in its current state by your own application.

=head2 Implementation

HashedCookies adds a keyed cryptographic hash to each cookie that your
application creates, and checks every client-provided cookie for a valid hash.

This is done in a transparent way such that you do not need to change B<any>
application code that handles cookies when using this plugin. A cookie that
fails to contain a valid hash will still be available to your application
through C<< $c->request->cookie() >>.

Two additional methods within the Catalyst request object allow you to check
the status (in other words, the vailidity) of your cookies.

=head1 METHODS

=head2 Catalyst Request Object Methods



( run in 0.606 second using v1.01-cache-2.11-cpan-0a6323c29d9 )