This document requires global security policy to be disabled

I have a protected PDF file while the time I enter credentials into it results me with an error message with respect to JavaScript Global Security.
What I need to follow in this concern?
Following is the screen-shot pasted of the error message.

Warning: JavaScript Window – Protectedpdf – Error
This document requires global security policy to be disabled.
Please go to Edit > Preferences JavaScript and uncheck the “Enable global object security policy” checkbox.
Message code: 005
