Batch security

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
SIMMS7400
Posts: 546
Joined: 07 Jan 2016 07:47

Batch security

#1 Post by SIMMS7400 » 05 Jan 2017 08:33

Hi Folks -

Happy New Year - I hope everyone enjoyed the holidays and family time!

Quick question: Is there a way to enable security on a batch script so a user can execute BUT NOT edit? I know I can enable read/write/execute, but if I use execute wont they also be able to edit since that access will trump all?

Thanks!

Sounak@9434
Posts: 100
Joined: 16 Dec 2016 22:31

Re: Batch security

#2 Post by Sounak@9434 » 05 Jan 2017 08:44

Maybe convert them to exe using Advanced bat to exe converter.

Sounak

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Batch security

#3 Post by Squashman » 05 Jan 2017 09:20

Well if you looked at the NTFS permissions by simply right clicking the file and selecting properties you can see all the different permissions you can set. Modify is one of them. But that does not stop them from copying the file to another location and modifying it and executing it from there..

sklub
Posts: 9
Joined: 13 Jan 2017 12:56

Re: Batch security

#4 Post by sklub » 13 Jan 2017 13:15

i would use a binary incrypted password.
you can make one using batch...i dont have the file anymore.
will take some time though...

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Batch security

#5 Post by ShadowThief » 13 Jan 2017 21:31

sklub wrote:i would use a binary incrypted password.
you can make one using batch...i dont have the file anymore.
will take some time though...

You're encrypting what with what now?

Post Reply