B4J Question Using BANanoPDFView to open a pdf with .htaccess protection from outside access

prbmjr

Active Member
Licensed User
Hi guys, I'm trying to use BANanoPDFView to open pdf files on the same server that the webapp is running, this works fine but now I need to implement .htaccess security to avoid the pdf access from outside, and i'm using the .htaccess commands as follow:

B4X:
Deny from all
Allow from https://mysite.com/

at this moment the BANanoPDFView object from my webapp do no allow to read and show the pdfs, like the out side access...

Any ideas to solve this?

Thanks in advance!

br,

Paulo Bueno
 
Top