Macros can be used to get data from an powerpoint presentation, so to secure macros use 'Tools -> Options -> Security'
can be used for setting macro security. Setting Macro Security in Microsoft Powerpoint 2002
In the above example, setting the security level of the macro to 'Medium' is done.
Even the trusted sources to accept the macro can also be specified.