?
Solved

Script to change an IIS web site authentication method

Posted on 2007-10-14
4
Medium Priority
?
655 Views
Last Modified: 2008-09-17
Can someone provide a sample script that can be run by a windows scheduled task that will change the authentication method of an IIS 6.0/7.0 web site from digest authentication to windows authentication (and then back again at a later time)?
0
Comment
Question by:RadRichie
2 Comments
 
LVL 12

Accepted Solution

by:
lunadl earned 1000 total points
ID: 20095552
You can make a directory that is only accessible by an authenticated user and direct the user there when you want them to use IWA and one that is a digest authentication.. your landing page will direct the user to whichever you need behind the scenes.
Landing.aspx directs to
/digest/login.aspx
/IWA/login.aspx --(don't allow anonymous users to access this page in IIS)
0
 
LVL 1

Author Comment

by:RadRichie
ID: 20118091
Good idea, but I was looking to do this using a WMI ?? command in a scripting tool, without re-configuring or duplicating the site at all.  My site doesn't have a login page.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question