-----Original Message-----
Hello.
Howdy.
I have a web site that has a link to a private page. What
i'd like to use is the WinNT login that each user have.
How can do a script that when the user clicks on a link,
checks if the NT login is allowed to open the page, and
if not, opens a page with a error message ?
1. Create a new subweb.
2. Put the private page in that subweb.
3. With the subweb open, choose Server from the Tools
menu, and then Permissions.
4. Click Change Permissions, then Use Unique Permissions
For This Web Site, then Submit, then Cancel.
5. Click Manage Users, then Add A User.
6. Click Add user or group name, then enter one user
or group that will have access. For example,
enter mydomain\Domain Users.
7. Click Administration in the menu bar at the top of
the page.
8. Click Change Anonymous Access Settings, Set Anonymous
Access Is: to Off, and click Submit.
If the Web visitors are using IE, and if they've logged
into their computers using a domain account, they'll
probably never see a logon prompt. IE will log them in
automatically.
If you *want* the login box to appear, at least for
testing, go into IIS manager, then turn off Integrated
Windows Authentication and turn on Basic Authentication.
However, Basic Authentication sends passwords over the
network as near-clear text. (It UUEncodes them.)
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------