FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Technical Support » Windows Shared Hosting

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 23-03-11, 05:24 PM
new member
 
Join Date: Mar 2011
Posts: 1
Default how to password protect a directory on windows hosting.

I have a members section on my website which i would like to password protect so that only members with the username and password can view the pages in a browser.
I've used htpasswd and htaccess files with another web host in the past but i'm struggling to get it to work here.
i have a windows hosting account

any simple answers?
Reply With Quote

  #2 (permalink)  
Old 24-03-11, 01:15 AM
new member
 
Join Date: Sep 2010
Posts: 2
Default

Hello,

You can password protect the directory through Plesk control panel under "Password Protected" Option.

Let us know if you face any issue while setting password protect through Plesk.


Regards,
Pete
Reply With Quote

  #3 (permalink)  
Old 25-05-11, 04:53 PM
Junior Member
 
Join Date: Jan 2011
Posts: 22
Default

Quote:
Originally Posted by turtle73 View Post
I have a members section on my website which i would like to password protect so that only members with the username and password can view the pages in a browser.
I've used htpasswd and htaccess files with another web host in the past but i'm struggling to get it to work here.
i have a windows hosting account

any simple answers?
password protect folder

create a user account "test" and on the folder in NTFS permissions remove IUSER and add "TEST". Also remove anonymous from directory security in IIS services tool on that folder. "right click folder in IIS then properties". As above post probably host not wanting to do it. Simple but guess they have there reasons.

This should work...

Hope this helps.
Reply With Quote

  #4 (permalink)  
Old 25-05-11, 05:01 PM
Member
 
Join Date: Nov 2010
Posts: 52
Default

Quote:
Originally Posted by turtle73 View Post
I have a members section on my website which i would like to password protect so that only members with the username and password can view the pages in a browser.
I've used htpasswd and htaccess files with another web host in the past but i'm struggling to get it to work here.
i have a windows hosting account

any simple answers?
To protect any directory in your hosting account with a password, in that directory,its is necessary to create an .htaccess file. That .htaccess file contains must contain following details :

AuthUserFile /home/content/l/o/g/login_name/html/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

This require necessary user and their details are as follows :- Where their are three different letters "l," "o," and "g" are of your hosting login and "login_name" is your full hosting login
eg:- The hosting login for "abcde" would translate to the following path: /home/content/m/a/y/abcde/html/.htpasswd

Then the AuthUserFile will describes the server where the server should looks for the .htpasswd file. The .htpasswd file contains a list of users . The file also contains detail to grant or not to grant access to a specific user. The file also contains details about what path access the directory and the user has as of with their hashed passwords. It is very easy these days as there are choice of tools which are available online to create .htpasswd files.

Last edited by petterm; 25-05-11 at 05:07 PM.
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 04:12 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials