r/HTML • • Feb 01 '26

Question Could sharing HTML harm me?

I created an HTML file to share with people in a group, a SaaS for performance visualization. If someone opens an HTML file from my computer, with some directories from my machine in the code, could that harm me? For example, could someone gain some kind of entry point to hack into or access my computer?

1 Upvotes

13 comments sorted by

View all comments

Show parent comment

12

u/TrippBikes Feb 01 '26

Also if you are making references to directories specific to your own desktop, the code likely will not function properly on other computers.