Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Scripting Authentication and Access Control Id

Reply
Thread Tools Display Modes

Scripting Authentication and Access Control Id

 
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      02-24-2009
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.


 
Reply With Quote
 
 
 
 
Ken Schaefer
Guest
Posts: n/a

 
      03-02-2009
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@nopspam_msn.com> wrote in message
news:5F070F17-6D25-4CA2-A7EA-...
> 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.
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 97 - Scripting Steve Goddard Scripting 0 08-22-2007 07:22 PM
Best way to Control USB Storage and authentication hermesjrd Active Directory 0 03-05-2007 07:19 PM
Policy for Scripting of Internet Explorer Web browser control Timmer Active Directory 0 03-13-2006 06:56 PM
Control thru Scripting sac Virtual PC 1 04-16-2004 08:29 PM
Scripting delegation of control of OU's Thor Scripting 0 11-06-2003 10:44 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59