Hello! How can I prevent the page code from being viewed? | SoloLearn: Learn to code for FREE!

+9

Hello! How can I prevent the page code from being viewed?

7/14/2020 1:24:40 PM

Alex Pshenichny

22 Answers

New Answer

+11

Alex Pshenichny what do you mean by "Page code"??

+9

Its not clear , what does "Page Code" refers to? Is it regarding your code in sololearn or some website content outside of sololearn?

+6

You cant do that in sololearn neither on the internet. A person can see ur code on internet by inspecting the page. theres no way of hiding your code. tho ur question is still kinda unclear, What do you mean by "page code"?

+6

Outside of sololearn.

+4

Please, help me!

+4

This is only done with server side programming, you cannot do this with client side hopefully you understand now.

+2

1. iframe importing an external webpage. https://code.sololearn.com/W2ND3vonX5Jd/?ref=app 2. Encryption https://code.sololearn.com/W9736jQ46fci/?ref=app

+2

There is no way to hide your source code. Even if you hide the page in an iframe, if it can be viewed in a browser it can be pulled from the internet with tools such as wget, or a simple python script. If you don't want people to see it, don't put it on the internet.

+2

+2

Make it private ! It's simple .. There are two ways to do so First: While saving you get the option of making it public or private Second: After posting it you need to go to your code and their select options there only you will get the option to make it private!! Hope it helped you

+2

I'm tempted to say: "put it on private" but I think your question is not properly written. Please, explain your question properly to us.

+2

You need to have your own web development language which actually no one can understand. Example like this: Ebksoaj)/jsisn/()#(//!*?)//iwnonxkakwebviewmakamlpanxji ;*;"/++*!jankaoakqjbdllajjs Ohhh yeahhh boy ;)

+1

There's one way of doing this, that is encrypt your code like WhatsApp web does.

+1

You can just obfuscate to make it harder for others but cant prevent sadly

+1

By my side there would be no option of hiding your web page code

+1

+1

What do you mean by page code? If you are asking about code bits then make them private!

+1

ENCRYPT! https://www.webtoolhub.com/tn561359-html-encrypter.aspx

0

U can't hide code on ur page code**

0

@Bagon , you can encrypt sites using staticrypt(https://robinmoisson.github.io/staticrypt/) to password protect html.