Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

blocking access site

Forum home » Delegate support and help forum » Dreamweaver Training and help » Blocking access to a site

Blocking access to a site

ResolvedVersion CS3

Kemi has attended:
Dreamweaver 8 Intermediate course

Blocking access to a site

Hi Richard,

How are you? Thank you for the responding to my first question last week.

How do stop people from accessing a website?

I copied all the data from one site to another and intend to use the old site for something else, but no matter what the communication, people still use the old site mainly because they have it as their favourite/start page.

I need to be able to block access to the site, is there some code that I can use.

Many thanks,

Kemi.

RE: Blocking access to a site

Hi Kemi,

You can usually set up password protection on your web server. Ask your hosting company for details, or log in to your hosting company's control panel.

If your web server is Apache, see this article about editing .htaccess:
http://www.cs.dal.ca/studentservices/faq/tutorials/web_sites/htaccess.shtml

You can use Bravenet's password protector, fairly easy to set up:
http://www.bravenet.com/webtools/passwd/index.php

See also:
http://www.poppydog.com/prod/pwdProtect.jsp
http://webdeveloper.earthweb.com/webjs/jssecu/item.php/27321

If you use PHP (note all your page will need to be .php for this to work), see this article on setting up an include password protect file:
http://www.zubrag.com/scripts/password-protect.php

Let me know how you get on.

Regard, Rich

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Dreamweaver tip:

Creating line breaks

If you want to create a line break hold down Shift+Enter.

View all Dreamweaver hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.