B4J Question Protect Webpage source HTML and JavaScript from copy and steel the work.

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all I have not found a answer for this in the forum.
Building a Webpage with JavaScript CSS and HTML but the source can be seen.

Is it possible in B4J to protect this so nobody can steal your work.
Website is running on a Web-socket Server B4J working perfect.
Server is running on a Raspberry PI 5.

Hope anybody has some ideas.
 

Swissmade

Well-Known Member
Licensed User
Longtime User
When you say the source can be seen do you mean in the Browser that is viewing the page?
You are busy with Audio so I think you like the idea of my page.
Can Send it in private
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
I may be wrong, but i don't think there is much you can do about that.

To be viewed the page has to be rendered as HTML, I don't think you can hide it. There may be a few tricks as I have seen some sites that appear to load it dynamically. All that really stops is being able to save the page and run it from the saved source. You could still load the site into a WebView and interrogate the HTMLDocument to get the source that is displayed.

Someone else may have a better understanding and be able to give you ways to do it. Or at least make it more difficult.

You are busy with Audio so I think you like the idea of my page.
Can Send it in private
Yes, send it over I'll take a look.
 
Upvote 0

Swissmade

Well-Known Member
Licensed User
Longtime User
Upvote 0

MicroDrie

Well-Known Member
Licensed User
Longtime User
Security is like a staircase, the higher it is, the fewer people reach the top. Or there is always some clever person who takes a screenshot and converts it to text with (built-in OCR). Okay, I saw on a Chinese site that the image was built up in a kind of column, which split the text lines up in an odd but still readable way. With AI today, I don't know how a hard-to-read font and a busy background makes successful OCR difficult.
 
Upvote 0
Top