How to Make a Login With Dreamweaver
Some websites restrict access. If you use the Dreamweaver Web design application to create your website, you can use the tools and utilities in the software to create a login page. Only users with a valid user name and password stored in a database created for the login process can access the website.
Instructions
-
Create Login Form
-
1
Launch Dreamweaver, then click File on the menu bar.
-
2
Select New from the drop-down list, then click Blank Page.
-
-
3
Click the spot on the page where you want to place the login form, then click Insert on the menu bar. Select Form from the drop-down list. An empty form appears on the page. If you cannot see the form's boundaries, click View on the menu bar, then select Visual Aids and click Invisible Elements.
-
4
Click Window on the menu bar, then select Properties to open the Property Inspector. Type a name for the form in the Form Name box and click "OK."
-
5
Click Insert on the menu bar and select Form, then click Text Field. A text field appears on the page. Move the text field next to the top field on the form and enter "User Name." Create a new text field and move it next to the bottom field of the form and enter "Password."
-
6
Open the Insert drop-down menu again, then select Form and click Button. Move the button to the bottom of the form, then click Window and select Properties. Type "Sign In" or "Log In" in the Label box. Click File, then select Save to save the page.
Add Login Users
-
7
Click Window in the menu bar, then select Server Behaviors from the drop-down list.
-
8
Click the "+" button, then select User Authentication. Select Log In User from the pop-up list, then click the name of the form you previously created.
-
9
Select the database that contains the login information of all your users, then select the page you want to display if a user successfully logs in.
-
10
Choose the page you want to display if a user fails to enter the correct login information. Finally, decide whether you want to grant users access via login information, or via authorization level and login information. Click "OK" to save the settings, then click File and select Save.
-
1
Tips & Warnings
You need a database containing the user names and passwords of all authorized users to make the login page work.