Password requirements

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

sak240277
Posts: 6
Joined: Tue Dec 22, 2020 1:43 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Password requirements

Post by sak240277 »

Can I protect my sub programs for editing & visibility both?
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Password requirements

Post by martyscncgarage »

sak240277 wrote: Sun Dec 27, 2020 8:19 am Can I protect my sub programs for editing & visibility both?
Could you please clarify what you are wanting to do? Your end goal?

Sub program is exactly what? I sub routine with in a G code file?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
sak240277
Posts: 6
Joined: Tue Dec 22, 2020 1:43 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Password requirements

Post by sak240277 »

Customized Macros we used in main program needs to be protected with password for view & edit both e.g. M17, M18.
ShawnM
Posts: 2190
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Password requirements

Post by ShawnM »

sak240277 wrote: Sun Dec 27, 2020 8:19 am Can I protect my sub programs for editing & visibility both?
All this can be done with Windows, you can make files/folders read only and even hide files and folders. You can also set permissions for each file or folder and which users have access to them. This is a Windows feature and nothing to do with Acorn. Just Google it and you'll see how.
tblough
Posts: 3071
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Password requirements

Post by tblough »

Read only will not do what the OP is looking for. Read only just protects (somewhat) from changing the file. It does not prevent you from viewing the contents.

Bottom line is RS274 is a text based file format with no provisions for encryption.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
ShawnM
Posts: 2190
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Password requirements

Post by ShawnM »

But if he makes it read only and makes it a hidden file this keeps someone from seeing and/or editing it. It's not password protected but it's better than nothing, no? Is this fool proof, of course not.
tblough
Posts: 3071
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Password requirements

Post by tblough »

As soon as the control loads it, assuming it can find the hidden file, the contents will then be visible.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Password requirements

Post by martyscncgarage »

tblough wrote: Tue Dec 29, 2020 2:50 pm As soon as the control loads it, assuming it can find the hidden file, the contents will then be visible.
And the file editable....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
ShawnM
Posts: 2190
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Password requirements

Post by ShawnM »

The OP wrote "Customized Macros we used in main program needs to be protected with password for view & edit both e.g. M17, M18."

Is he not talking about macros? The g code will call the macro but you can't see the macro contents or edit it from within the g code when you try to edit the loaded cut file by pressing F6 after it's loaded. All you see is the M number in the g code. I've done this before. You can change the macro file attributes, any mfunc file in the cncm directory, to be read only and hidden and when it's called by the g code it runs as normal. You just cant see the macro in the cncm directory. I think he's trying to hide or protect the macros and this may be the easiest way. If you can't see it you cant edit it. Could one show hidden files or folders, yup, but your average pc user may not know how to do this.
sak240277
Posts: 6
Joined: Tue Dec 22, 2020 1:43 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Password requirements

Post by sak240277 »

I fully understand its text file.
My thought is to protect it from thief than normal one.
A rule is protect your intellectual property, not from common / normal operator (as he won't even try for it) but from a thief.
But a thief will enter your house even if it is locked, security system installed & burglar alarm set. Isn't it?
So shall we conclude or is there anyone who can suggest further robust methods with features like using IoT / IiOT to know?
Post Reply