Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_protect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_PROTECT()


Syntax:        L_PROTECT(<expC>,<expL>)


Purpose:       Changes the database header so it cannot be used
               outside of the application.


Arguments:     <expC> is the name of the database to protect.

               <expL> is a logical flag.
               If it is set to (.T.) the database will be protected.
               If it is set to (.F.) the database will be unprotected.


Returns:       Returns a logical (.T.) if successful a logical (.F.)
               if un-successful.


Usage:         Use this function to stop "hackers" from accessing your
               database through dBase or DOT.

               Please note that the database must be closed before
               issuing this function call.

Examples:      ? L_PROTECT("CLIENTS",.T.)       && Result .T.
               * CLIENTS database now protected

               ? L_PROTECT("CLIENTS",.F.)       && Result .T.
               * CLIENTS database now un-protected


Language:      Clipper

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson