Sign in with
Sign up | Sign in
Your question

How can I hide part of web, access by password only?

Last response: in Networking
Share
July 17, 2006 11:03:50 AM

I'm building a website and need to hide a part of the web for members only, which they will access with a password. Can I do this using FrontPage or do I need a particular software package?
Montymouse
July 20, 2006 5:42:28 PM

If you are running Windows Server and IIS, all you should have to do is change the permissions of the folder which contains the members-only page. Make sure you set up a local account on your computer for members to use for accessing the page.
July 24, 2006 3:06:42 AM

The way to go about doing it will be different depending on what kind of server you're using. If it's linux with Apache, I think there's a wizard in Frontpage that can do it for you. Basically all it's doing is creating an .htaccess file in the folder.

Windows is a bit more complicated because each user you want to allow access would need to have an account on the server. A somewhat simpler approach would be to do your authentication in "software". In other words, you could use PHP or ASP or something similar to check the username and password before letting the user see the page. This is much more secure than creating accounts for the users on the server. If you do some googling, you can probably find a prebuilt user authentication package for PHP, maybe ASP too but not as likely.
Related resources
!