Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

Passwords and Web Pages

How can I password-protect half my Web site?
0
wdw1971
Asked:
wdw1971
1 Solution
 
david_levineCommented:
Best way is to place the half that needs to be protected into a subdirectory and password protect that subdirectory.

You didn't mention the web server but usually, you just need to do what I mentioned above.

Let me know if you need more details.
0
 
wdw1971Author Commented:
I have tried to the files that need to be password protected, but it dosen't work. I really need more information on how to do this.


0
 
david_levineCommented:
I need more information to help you. What's your web server?
0
 
aioudineCommented:
AFAIK you can't protect particular files
only directory
for more information see TFM
and "How do I set up passwords for my web pages?" at
http://enteract.com/web_auth.html 


Generaly speaking, you may protect dirs by editing access.cfg or access.conf
(general webserver access control file)

and by placing  ACL file in directory_to_be_protected
This ACL file usially named access.www or  .htaccess
(depend on webserver)

Some Webserver, like Novell Webserv allow you to set restriction based on NDS rules



0
 
MaDdUCKCommented:
yes, you can protect individual files, at least on Microsoft IIS...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now