http://qs321.pair.com?node_id=579995
Category: Web Stuff
Author/Contact Info SFLEX (sflex@cpan.org)
Description: Module Link, Current version is 4.0:
http://cpan.uwinnipeg.ca/dist/SF_form_secure
Edited 2! 10-29-2006
I changed this post because lots of ppl here must have A.D.D.

Link to Better documentation.
Re: SF_form_secure

More Examples.
SFLEX's scratchpad
I am now working on a 5.0 that will use parts of CGI::Util for the experation time and fix a bug in action 5 that returns the version if the matching code is blank.
Still trying to put together more documentation for this code so one can use it the right way.

What are you waiting for?
Start using it!
Befor that A.D.D. sets in.
Replies are listed 'Best First'.
Re: SF_form_secure
by gellyfish (Monsignor) on Oct 24, 2006 at 11:31 UTC

    I get nervous when I see HTTP_REFER and (unqualified) security mentioned together.

    Leaving aside the fact that the Referer header is trivially spoofed in a client, many "personal firewalls", proxies and other internet security software will remove or otherwise anonymise the the Referer header: the HTTP Specification makes the suggestion that it might be removed.

    Beyond that it's not exactly clear how this might be used.

    /J\

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: SF_form_secure
by blazar (Canon) on Oct 23, 2006 at 11:59 UTC
    Load the module require SF_form_secure; --------------------------------------------------------------------- +---------- Set page up for self encoding if encoding is missing 3 - is the action type $key - Must Provide a secret key. 'op=testForm;module=Flex_Form' - to work, must provide a matching sel +f link '' - not used for this action '' - Minutes code will expire in 1 to 99, blank is off.. 'ip' - use Remote IP in encoding, blank is off. my $sec_self = SF_form_secure::x_secure('3', $key, 'op=testForm;modul +e=Flex_Forma', '', '', 'ip');

    [snip]

    First of all... I can see some perl interspersed there, but is this supposed to be Perl code?!? Or am I missing something? Didn't you by any chance loose a whole bunch of comment signs along the way?

    A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.