Hide source code?
Автор: DannyLam O.
Просмотрено 2948,
Подписчики 2,
Размещенный 0
How can I hide/encripted the source code when website create by Website X5 software? I'm not talking about the disable right click button script (because it's useless)
Everytime i try to insert into any pages the encripted codes. All the template structure went way out of look. Please help
Thanks
Размещено
Hello,
It depends of what part of encrypted code you are usign. If you use another structure that has different width it will change the structure of the template.
The only way to hide the source code is to encrypt the website after you exported if from WebSite X5. It's better to use protected pages if you want that someone cannot read the content.
Hope this helps.
Автор
Can you show me how to set up encrypted pages? Thanks MIllions
Автор
I mean protected pages.
Hello,
You need to go to Menu 4 - Advanced Settings and there you click on "Access Management". In this window you create a new user in a new group.
The next step is to go to Menu 2 and choose the page you want to protect. You select it and in the top bar you click on the Icon with the lock.
In the preview you cannot see that the content cannot be seen on this page but once online only if you know the username and password you will see this page.
If you require any further information, please feel free to write back.
Автор
So you mean if someone would like to view the page, he/she needs the username and password ?. If it is that not what I need. I just like when right click or go settings/view source, they will see something like" thanks for viewing but the source code not avail for the public "
Hello,
It's not possible to hide the HTML code completely because the browser need to see it otherwise it cannot render the website.
May I ask you why you want to hide the source code completey?
Many thanks!
Автор
I know we can't hide completely. But i just want to have a second layer protection.
Can this way work?
http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_misc.db&command=viewone&id=60
If i follow it, i have to re-do it everytime i upload a new update right?
Hello,
Yes if you use this script you need to export the project locally, apply the script and then upload it on the server everytime you update the website.
All data in the source code is the same that is visibile in the rendered page.
Please let me know if I can help you any further! Thank you!
Автор
Just tried it. The script doen't work. I'm sill be able to view the source normally. Thanks anyway :(