Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9091921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:43:30+00:00 2026-06-16T22:43:30+00:00

I have learned a bit of webGL, using three.js mainly. I load .obj files

  • 0

I have learned a bit of webGL, using three.js mainly.
I load .obj files and I draw them in 3D.

I have put my project online under something like : http://www.mydomain.com

I don’t mind people looking at my source code through their browser, but the .obj files I’m showing are from someone who does not want to give them away.

I’m a total newbie concerning this.

As my source code is available to everyone I’m guessing that the .obj files are also available to everyone. So is it possible to hide or secure them so that nobody can download them ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:43:32+00:00Added an answer on June 16, 2026 at 10:43 pm

    I’m pretty sure you can not secure any files if you want to access and use them in Javascript / WebGL. They need to be parsed into a usable format at some point for the browser/javascript to be able to display them. You have two options:

    1) Obfuscation. I don’t think this is very good option, as in the end someone can always use Firebug and other tools to access somewhat useful representation of your files. You can make it a bit less easy to do by encrypting or scrambling data server-side, and reconstructing stuff in Javascript. Or just using unconventional ways to load and represent files.

    You can also do some decoding / decrypting in shader code which would be one step harder to steal. But that probably applies to textures only.

    2) Make the files less useful. For someone to reuse your OBJ files, they probably want to import the models to software of their choice and do something. You can not prevent that but you can strip the files of extra information that makes the files easier to work with. This will make files less desirable for any potential thieves.

    I do it for completely different reasons, but my main use of WebGL involves exporting models from Sketchup to Collada, and displaying them in WebGL. My export code does some things, which as a side-effect make the exported model a pain to work with. This include making all component instances unique (de-instancing?), exploding all components and groups to plain geometry, triangulating all faces, deleting hidden geometry etc.

    Would be a PITA to bring that back to Sketchup for editing without the original file… specially because the models I work with, by nature heavily depend on component and group instancing. But still, nothing prevents someone from stealing the geometry “as is”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very new to AJAX, but have learned a bit from online tutorials. If I
I have learned Perl and PHP.So I want to do simple real time project
So far I have learned about generating thread dump and heap dump using jstack
Recently I have learned the basics concepts of Git. We did use a bit
I'm still leanring PHP/MySQL but have learned quite a bit thanks to codies on
I have just learned how to use exceptions, and I have a bit of
I have learned how to work with 80x86 assembler, so in bit-wise shift operation,
A lot of what I have learned about VB I learned from using Static
There's the following bit of Python code in a project I have to maintain:
I have learned a bit on Serialization in java . My basic understanding is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.