Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Jordan Aly #1
Secure page, please help
Hello, I am kind of new to dreamweaver, but I am starting a music website, and I want to know how to create a secure page, create alogin for poeple, and sign up page. please let me know
thanks alot
Jordan Aly Guest
-
Secure html page
I want to handle static html pages from aspx pages. Basically when someone request for html file using absolute or relative URL and if the user not... -
Secure login from ASP page to SQL Server DB
Sorry I can't be more specific, but.... I'd like to create a secure login from an ASP page to a specific SQL Server 2000 Db. Is there an accepted... -
whats the best way to mix secure and non secure data on a page?
i have an ecommerce site that is split across two domains, a secure space that retains cc details and the main site where contact information and... -
Download secure web page
http://www.aspfaq.com/show.asp?id=2257 -
secure form on a non-secure page -> how?
Perhaps not PHP specific, but: Both http://www.bankofamerica.com/ and http://www.bankone.com/ have account login forms on their non-secure main... -
-
thlokey #3
Re: Secure page, please help
There are two ways to do it.
1. Use an .htaccess file. This will protect ALL files that are in a folder.
This is a simple (and crude) way to protect files. You manage the users with a
linked page. More info...go to
[url]http://www.javascriptkit.com/howto/htaccess.shtml[/url] or do a search.
2. Using Dreamweaver, you can create dynamic HTML pages, probably with PHP.
You will have to create a simple database to control users. I spent a lot of
time learning how to set up MySQL tables, but it's not too difficult. See below
for more on Database setup. It must be done BEFORE connecting to them. DW can
make the following for you:
a. Login page - make a form with a username and password fields + an "Enter"
button. Then use the "Login User" button from the "Application" Tab of the
Insert Panel. DW will walk you through the rest.
b. All other pages will simply "Restrict Access to Page". This can be found on
the Server Behaviors Panel. Click on the plus sign, choose User Authentication,
and then Restict Access to Page. DW will write all of the code for you.
c. After completing these two tasks, you can start to play with the other
Application features of DW that include adding a new user, editing a user, etc.
Start with the first two AND BE PREPARED TO START OVER A COUPLE OF TIMES.
DATABASES:
Where you host your page, you can probably activate MySQL databases right from
there server. You may have to upgrade to a fancier page. Check out
[url]http://www.Netfirms.com[/url] for a great provider that hosts different levels. Once
you establish the Database, it will have a name, username, and password, all of
which DW will need to connect.
Then you have to create a table. For your task, I would have at leas the
following fields:
ID - creates a unique number for each user (called the Primary Key)
Username
Password
Firstname
Lastname
Then you can hold ANY information that you want about the person(s).
Good luck. It's a lot of fun (and you may just lose hours of your life
learning)!
Feel free to drop me a note directly. I may be able to send you some examples.
-Tod
thlokey Guest



Reply With Quote

