×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to set a password for a STEP file created within SolidWorks?

How to set a password for a STEP file created within SolidWorks?

How to set a password for a STEP file created within SolidWorks?

(OP)
Hi All,

Am new here. A quick q: I need to set a file-open password when saving my native SolidWorks file as a STEP file. My SolidWorks is 2023 Professional. Basically, I need to hand over the STEP file to an external associate and I need to set the password to allow file open only by legit users. I could not readily see how to set the password from within SW *while* creating the STEP file. Any suggestions?

Warm Regards,
UmeshN
Replies continue below

Recommended for you

RE: How to set a password for a STEP file created within SolidWorks?

That seems really unlikely to exist. I don't recall any encryption associated with STEP files. I suppose one could use ZIP or Windows encryption which does allow password protection, but as soon as that is unencrypted it's free-range.

SW native files can be encrypted as there is only one application that is designed to read them so coordination is easy. STEP was designed to be opened by any CAD, CAM, or QC program and they may not have any encryption management.

RE: How to set a password for a STEP file created within SolidWorks?

(OP)
Thanks, 3DDave.

A quick question then: Is encrypting a file the same as setting up a password to open it? I thought these are two different ways of securing a file.

RE: How to set a password for a STEP file created within SolidWorks?

Not much point to encrypting a file if anyone can just unencrypt it without a password. Also, the OS is able to open the file without a password in order to pass it to the program asking for the password. If the OS can do that, then the OS is usually able to pass that same file content to a program like Notepad. If it's not encrypted then a password does no good.

RE: How to set a password for a STEP file created within SolidWorks?

A bit more - It is typical that a file that is marked inside the OS as password protected has this managed by creating a file pointer record in the file lookup table (the table that converts file names into locations on the storage media, whether a rotating disk or a sort of simulation of it provided by solid state drives.)

This avoids modifying the file itself in a way that would either require pre-pending the password or suffixing the password to the file, in addition to the flag in the file lookup table to show the file has a password. It's bad to alter the file and file modification dates for a change in password.

There is a trick though - Windows can encrypt a file, but since it knows the original creation/modification dates, it will report those as the encryption is reversible and doesn't, to the user, alter the content.

Windows however, doesn't store a password in a readable form. They send the password you type into a "hash" function that converts the password though a lengthy formula into a code. This hash is such that no two passwords will have the same hash result and that passwords that differ by only one character have hashes that are nowhere close to each other, so guessing a password and seeing the hash and comparing it to the target doesn't help.

As far as I can see the only option for Windows is Encrypt with Password.

RE: How to set a password for a STEP file created within SolidWorks?

A STEP file is just a text file. You'll need a 3rd party tool to wrap encryption around it (ie. ZIP, etc). There's also steganography but that's more about hiding a file.

<tg>

http://xdi.me
"If there's something in life you don't like, change it and deal with the consequences." - James Tanton

RE: How to set a password for a STEP file created within SolidWorks?

(OP)
Thanks, 3DDave, for the detailed explanation. Appreciated.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close