Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Scripting Authentication and Access Control Id

Reply
 
Old 02-24-2009   #1 (permalink)
Paul Bergson [MVP-DS]


 
 

Scripting Authentication and Access Control Id

I have several iis 6.0 servers (o/s W2K3) that have an asp file that runs
under elevated privileges with iis browse to the file - properties / file
security / authentication and access control. The password of the user id
this runs under, on this asp file, needs to be changed frequently do to our
password policy.

Is anyone aware of a way that I could script the password change on this
file. It seems like a waste of time to have to manually do this when all of
our other password changes are automated.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.



My System SpecsSystem Spec
Old 03-02-2009   #2 (permalink)
Ken Schaefer


 
 

Re: Scripting Authentication and Access Control Id

Hi Paul,

Where are you "setting" this password? Are you storing this password as the
"anonymous IIS user account"? or are you storing this in the ASP webpage
itself? Or the IIS app pool ID? or where?

IIS configuration can be programmatically changed via ADSI, WMI and so on.
If you have hard coded this into the web page itself, then you could write a
script that does some find/replace somehow and rewrites the file.

Can you elaborate where you storing the password?

Cheers
Ken

"Paul Bergson [MVP-DS]" <pbbergs@xxxxxx_msn.com> wrote in message
news:5F070F17-6D25-4CA2-A7EA-D27EE374A741@xxxxxx
Quote:

> I have several iis 6.0 servers (o/s W2K3) that have an asp file that runs
> under elevated privileges with iis browse to the file - properties / file
> security / authentication and access control. The password of the user id
> this runs under, on this asp file, needs to be changed frequently do to
> our password policy.
>
> Is anyone aware of a way that I could script the password change on this
> file. It seems like a waste of time to have to manually do this when all
> of our other password changes are automated.
>
> --
> Paul Bergson
> MVP - Directory Services
> MCTS, MCT, MCSE, MCSA, Security+, BS CSci
> 2008, 2003, 2000 (Early Achiever), NT4
>
> http://www.pbbergs.com
>
> Please no e-mails, any questions should be posted in the NewsGroup This
> posting is provided "AS IS" with no warranties, and confers no rights.
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How do I control access to powershell? PowerShell
can't open access control editor. Access is denied General Discussion
User Access Control--Necessary? Vista General
Can Win9x Access Vista Shares Using LM Authentication? Vista networking & sharing
SYSTEM ACCESS CONTROL Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46