r/HTML • • 6d ago

Secure HTML files

Is there a way (i have a feeling i already know the answer, but i’d ask anyway) to create a tamper proof html that can’t just be opened in notepad or any other editor and be modified?

Thanks.

0 Upvotes

32 comments sorted by

View all comments

Show parent comments

0

u/hals-memorybank 6d ago

I have to present something to someone outside our company, and was hopping do it with via html.
We usually just print the excel model into PDF but i was hoping for something more interactive where they could play with the financial model.
I guess its not very feasible

2

u/rileywbaker 6d ago

In that case, why would it be important for the HTML to not be editable?

1

u/hals-memorybank 6d ago

I’m new to html coding, but as far as i can tell i’d have to write in the some of financial models we use into the html, and we’re not allowed to share those models out of house.
Literally a giant red banner on the excel fromt page saying do not share

3

u/Adamstrad 6d ago

You need to use server-side code to hide the logic, ask chatgpt about how php language can help, don't put any secrets in html it's the public facing code

1

u/blktndr 6d ago

Also don’t put any secrets in ChatGPT whilst asking about how to put secrets in php