How do you protect PDF file from being browsed only in the app?

Hello everyone

I guess it's off topic question , but is there a way to protect a pdf file for example with password that can't be opened unless it's opened with my app inventor apk app ?

or it's better to convert the pages into pictures and load them there.

thank you