The problem can be avoided.
The page source text can no longer be opened by clicking with the secondary mouse button if
.container {
height: 100vh;
width: 100%;
}
o***p@gmail.com
2023-10-25
2023-10-25
Ctrl+u open the code of a HTML page. This is a great problem.
p***t@otto-riehl.de
2023-10-25
2023-10-25
Crap
o***p@gmail.com
2023-10-25
2023-10-25
Crap? What do you mean?. Please, leave a comment thant means something.
o***p@gmail.com
2023-10-25
2023-10-25
Please Iberezansky LEAVE a reply to this very serious problem. Thank you.
a***r@3dflipbook.net
2023-10-25
2023-10-25
There is not such function out of the box, but you can try obscuring code by hiding it with techniques or systems similar to p,a,c,k,e,r‘s obfuscate feature. Check https://lab.wallarm.com/what-is-code-obfuscation/amp/
p***t@otto-riehl.de
2023-10-25
2023-10-25
If "crap" was taken too harshly, then I apologize. I do not want to hurt anyone.
I did not know CTRL+U. With this the page source text can be seen open again. Thanks for pointing it out.
My goal is to hide or obfuscate the source for the normal user.
"code-obfuscation" I'll have a look at tomorrow.
p***t@otto-riehl.de
2023-10-26
2023-10-26
Here the user is helped. Thanks for the tips.
I am now proceeding as follows:
1) Compress HTML code online. Comments, line breaks, tabs and extra spaces are removed.
2) HTML code obfuscate online. From my compressed HTML code a Javascript is generated.
I tested the result with Chrome, Mozilla, Edge and Opera. On Windows and Android.
Works.
Sure you can recompile the javascript. But the group of people who practice this are certainly not interested in my work.
Thank you but all this is useless. It can be easily returned to its initial state and the address of the pdf file (which can be very confidential) returns fully exposed.
The only solution is that the secret path to the pdf is in the src path into dthe 3dflipbook.js
p***t@otto-riehl.de
2023-10-26
2023-10-26
I have obscured the source.
Ctrl+U returns only unreadable code.
Experts can certainly decrypt the code. But they are not my viewers.
I do not have any other options.
It is interesting that you have to solve the same problem.
Maybe a better solution comes from the programmer.
p***t@otto-riehl.de
2023-10-31
2023-11-01
Javascript is not a protection.
With F12, the viewer can examine any web page. Developer Console.
Comprehensive information is given about what is currently shown on the display.
Including the complete path.
Is there a strategy that hides the complete PDF here?
a***r@3dflipbook.net
2023-11-01
2023-11-01
Also you can use b64 encoding or any other. But anyway the debugger network tab will show the browser requests. So maybe it is better to use images instead of PDF if the security is very important?
p***t@otto-riehl.de
2023-11-02
2023-11-02
3D FlipBook is supposed to show the PDF. So the content is public.
I have disabled printing.
I want to avoid that the complete PDF gets legs.
But via the Windows console Ctrl+Shift+J this is probably always visible.
Well, then this is just so.
Thanks for the answer.
o***p@gmail.com
2023-11-02
2023-11-02
In very basic way it is so. But we are not so basic
The problem can be avoided. The page source text can no longer be opened by clicking with the secondary mouse button if
Ctrl+u open the code of a HTML page. This is a great problem.
Crap
Crap? What do you mean?. Please, leave a comment thant means something.
Please Iberezansky LEAVE a reply to this very serious problem. Thank you.
There is not such function out of the box, but you can try obscuring code by hiding it with techniques or systems similar to p,a,c,k,e,r‘s obfuscate feature. Check https://lab.wallarm.com/what-is-code-obfuscation/amp/
If "crap" was taken too harshly, then I apologize. I do not want to hurt anyone.
I did not know CTRL+U. With this the page source text can be seen open again. Thanks for pointing it out.
My goal is to hide or obfuscate the source for the normal user.
"code-obfuscation" I'll have a look at tomorrow.
Here the user is helped. Thanks for the tips.
I am now proceeding as follows:
1) Compress HTML code online. Comments, line breaks, tabs and extra spaces are removed.
2) HTML code obfuscate online. From my compressed HTML code a Javascript is generated.
I tested the result with Chrome, Mozilla, Edge and Opera. On Windows and Android. Works.
Sure you can recompile the javascript. But the group of people who practice this are certainly not interested in my work.
Here is the javascript:
document.write(unescape('%3C%21%44%4F%43%54%59%50%45%20%68%74%6D%6C%3E%3C%68%74%6D%6C%20%6C%61%6E%67%3D%65%6E%3E%3C%68%65%61%64%3E%3C%74%69%74%6C %65%3E%4B%72%61%73%6E%61%20%50%68%6F%74%6F%20%43%6F%6C%6C%65%63%74%69%6F%6E%3C%2F%74%69%74%6C%65%3E%3C%6C%69%6E%6B%20%72%65%6C%3D%69%63%6F %6E%20%74%79%70%65%3D%69%6D%61%67%65%2F%78%2D%69%63%6F%6E%20%68%72%65%66%3D%68%74%74%70%73%3A%2F%2F%6F%74%74%6F%2D%72%69%65%68%6C%2E%64%65 %2F%65%62%6F%6F%6B%2F%66%61%76%69%63%6F%6E%2E%69%63%6F%20%2F%3E%3C%6D%65%74%61%20%6E%61%6D%65%3D%72%6F%62%6F%74%73%20%63%6F%6E%74%65%6E%74 %3D%6E%6F%69%6E%64%65%78%2C%6E%6F%66%6F%6C%6C%6F%77%2C%6E%6F%61%72%63%68%69%76%65%20%2F%3E%3C%6D%65%74%61%20%6E%61%6D%65%3D%67%6F%6F%67%6C %65%62%6F%74%20%63%6F%6E%74%65%6E%74%3D%6E%6F%69%6E%64%65%78%2C%6E%6F%66%6F%6C%6C%6F%77%2C%6E%6F%61%72%63%68%69%76%65%20%2F%3E%3C%6D%65%74 %61%20%6E%61%6D%65%3D%76%69%65%77%70%6F%72%74%20%63%6F%6E%74%65%6E%74%3D%22%77%69%64%74%68%3D%64%65%76%69%63%65%2D%77%69%64%74%68%2C%20%69 %6E%69%74%69%61%6C%2D%73%63%61%6C%65%3D%31%22%20%2F%3E%3C%6D%65%74%61%20%63%68%61%72%73%65%74%3D%75%74%66%2D%38%20%2F%3E%3C%2F%68%65%61%64 %3E%3C%62%6F%64%79%3E%3C%73%74%79%6C%65%3E%62%6F%64%79%7B%62%61%63%6B%67%72%6F%75%6E%64%2D%63%6F%6C%6F%72%3A%23%33%33%33%3B%6D%61%72%67%69 %6E%3A%30%3B%70%61%64%64%69%6E%67%3A%30%7D%2E%63%6F%6E%74%61%69%6E%65%72%7B%68%65%69%67%68%74%3A%31%30%30%76%68%3B%77%69%64%74%68%3A%31%30%30 %25%7D%2E%66%75%6C%6C%73%63%72%65%65%6E%7B%62%61%63%6B%67%72%6F%75%6E%64%2D%63%6F%6C%6F%72%3A%23%33%33%33%7D%3C%2F%73%74%79%6C%65%3E%3C%64 %69%76%20%63%6C%61%73%73%3D%63%6F%6E%74%61%69%6E%65%72%20%69%64%3D%63%6F%6E%74%61%69%6E%65%72%3E%3C%2F%64%69%76%3E%3C%73%63%72%69%70%74%20%73 %72%63%3D%6A%73%2F%6C%69%62%73%2F%6A%71%75%65%72%79%2E%6D%69%6E%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%20%73%72%63%3D%6A %73%2F%6C%69%62%73%2F%68%74%6D%6C%32%63%61%6E%76%61%73%2E%6D%69%6E%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%20%73%72%63%3D %6A%73%2F%6C%69%62%73%2F%74%68%72%65%65%2E%6D%69%6E%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%20%73%72%63%3D%6A%73%2F%6C%69 %62%73%2F%70%64%66%2E%6D%69%6E%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%20%73%72%63%3D%6A%73%2F%64%69%73%74%2F%33%64%66%6C %69%70%62%6F%6F%6B%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%3E%24%28%22%23%63%6F%6E%74%61%69%6E%65%72%22%29%2E%46%6C%69%70%42%6F%6F%6B%28%7B%70%64%66%3A%22%62%6F%6F%6B%73%34%37%31%31%2F%70%64%66%2F%65%2D%62%6F%6F%6B%5F%61%31%5F%65%6E%5F%6B%72%61%73%6E%61%5F%2D%5F%74%68%65%5F%68%69%73%74%6F%72%79%5F%6F%66%5F%61%5F%67%65%72%6D%61%6E%5F%62%65%73%73%61%72%61%62%69%61%6E%5F%76%69%6C%6C%61%67%65%2E%70%64%66%22%2C%74%65%6D%70%6C%61%74%65%3A%7B%68%74%6D%6C%3A%22%74%65%6D%70%6C%61%74%65%73%2F%64%65%66%61%75%6C%74%2D%62%6F%6F%6B%2D%76%69%65%77%2E%68%74%6D%6C%22%2C%73%74%79%6C%65%73%3A%5B%22%63%73%73%2F%73%68%6F%72%74%2D%62%6C%61%63%6B%2D%62%6F%6F%6B%2D%76%69%65%77%2E%63%73%73%22%5D%2C%6C%69%6E%6B%73%3A %5B%7B%72%65%6C%3A%22%73%74%79%6C%65%73%68%65%65%74%22%2C%68%72%65%66%3A%22%63%73%73%2F%66%6F%6E%74%2D%61%77%65%73%6F%6D%65%2E%6D%69%6E%2E%63 %73%73%22%7D%5D%2C%73%63%72%69%70%74%3A%22%6A%73%2F%64%65%66%61%75%6C%74%2D%62%6F%6F%6B%2D%76%69%65%77%2E%6A%73%22%2C%73%6F%75%6E%64%73%3A%7B %7374%61%72%74%46%6C%69%70%3A%22%73%6F%75%6E%64%73%2F%73%74%61%72%74%2D%66%6C%69%70%2E%6D%70%33%22%2C%65%6E%64%46%6C%69%70%3A%22%73%6F%75%6E%64 %73%2F%65%6E%64%2D%66%6C%69%70%2E%6D%70%33%22%7D%7D%7D%29%3C%2F%73%63%72%69%70%74%3E%3C%2F%62%6F%64 %79%3E%3C%2F%68%74%6D%6C%3E'));
Thank you but all this is useless. It can be easily returned to its initial state and the address of the pdf file (which can be very confidential) returns fully exposed. The only solution is that the secret path to the pdf is in the src path into dthe 3dflipbook.js
I have obscured the source. Ctrl+U returns only unreadable code. Experts can certainly decrypt the code. But they are not my viewers. I do not have any other options.
It is interesting that you have to solve the same problem. Maybe a better solution comes from the programmer.
Javascript is not a protection.
With F12, the viewer can examine any web page. Developer Console.
Comprehensive information is given about what is currently shown on the display. Including the complete path. Is there a strategy that hides the complete PDF here?
Also you can use b64 encoding or any other. But anyway the debugger network tab will show the browser requests. So maybe it is better to use images instead of PDF if the security is very important?
3D FlipBook is supposed to show the PDF. So the content is public.
I have disabled printing.
I want to avoid that the complete PDF gets legs.
But via the Windows console Ctrl+Shift+J this is probably always visible.
Well, then this is just so.
Thanks for the answer.
In very basic way it is so. But we are not so basic