Web page protection

L

Luis

Hello.
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 ?
 
J

Jim Buyens

-----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)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jim Buyens

Luis said:
I forgot to tell in the first post that i don't have
permissions to create a subweb.

FrontPage administers security on a subseb basis. If you don't have
permission to create a subweb, contact your system administrator or
host to get those permissions, or to create the subweb for you.

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)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top