Re: Encrypted password in script
- From: Richard Waal <RichardWaal@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Mar 2006 00:32:30 -0800
Everybody,
Thank you all for replying to my posting. You have given me some very
usefull hints in how to go about this problem. The next couple of days I will
investigate what will work best in my situation. I anticipate that I will use
a combination of solutions, like storing the script in a location that only
one Service Account can access, together with an encryption method.
Again, many thanks. This really is a great group :-)
Regards,
Richard
"TDM" wrote:
.
"Richard Waal" <RichardWaal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:823A41FE-D3A0-46B6-B724-2933E76EADCD@xxxxxxxxxxxxxxxx
Hello all,
I am writing a script which will change the password of the local
administrator account on client computers. My concern is that people will be
able to determine the password by simply opening the script file. I looked at
the possibility to encode the script through the Microsoft encode utility,
but a quick search on Google made me realise that this is a very poor way of
securing passwords.
I am looking for a way, maybe through the use of an external command-line
tool, which enables me to encode the password using some sort of algorithm.
Or, maybe there is another way in which I can change the password, without
users being able to retrieve it.
Does anybody have any suggestion?
Many thanks.
--
Richard
Richard,
Why cant you use the built in XP File Encryption to encrypt
the file you are reading the PW from ? No one will be able to open the file
except for the owner, period. Works great for the most part, but,
any user will be able to see the file in the filesystem, they just cant
open it.
Just in case you are not aware of how to encrypt a file, from Explorer,
right click on the file, go to properties, click the advanced button, then
check the box for "Encrypt contents to secure data".
My disclaimer, I dont have a Win2003 server to test this on right now,
and it is possible, but unlikely, that this feature only exists on XP Pro.
TDM
- References:
- Re: Encrypted password in script
- From: TDM
- Re: Encrypted password in script
- Prev by Date: Re: Scripting with Arrays
- Next by Date: Re: Count Number of Lines in Large File
- Previous by thread: Re: Encrypted password in script
- Next by thread: Re: MySQL to SQL
- Index(es):
Relevant Pages
|