Forums

PHP

This topic is locked

Login include

Posted 20 Mar 2002 10:54:20
1
has voted
20 Mar 2002 10:54:20 enquest enquest1 posted:
I have two questions about login.
1. I have many pages as a backoffice for a site. Would it be wise to put the restrict behavior once in a include file. So that I don't have to put the same thing on all the pages each time?

2. I want to make the password encrypting. Can somebody point me out how to let this work. Or a tutorial with a how to.

Thanxs for the help

Replies

Replied 24 Mar 2002 19:24:34
24 Mar 2002 19:24:34 Tim Green replied:
Using an include file can help speed up development, but you will have to remember that once you implement this, you can no longer rely on the default behaviors within UD to be recognized. My tip to you here would be to create each page with the correct behaviors etc. Once you have finished development, go through your site 'optimizing' it, and changing the relevant code blocks into includes.

If you don't want the passwords to be encrypted (extremely bad idea, but it's your decision) then you don't need to do anything. Don't use any of the Login Extra behaviors, and simply set up your database as you normally would.

This will result in all passwords being stored as plain text, and this validation will result in the plain text being sent over the connection for validation. This is OK in an intranet environment, or low-security risk application, but is not something I would recommend.

I hope this helps.

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 26 Mar 2002 20:27:23
26 Mar 2002 20:27:23 enquest enquest1 replied:
My question was how to make it encytping for higher securtiy!. Could you give me a pointer in how to do it!

Replied 26 Mar 2002 23:37:19
26 Mar 2002 23:37:19 Tim Green replied:
Sorry, I misunderstood about the encryption.

If you want to encrypt your passwords then use my User Authentication Extras suite at www.udzone.com/go?1224

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic