I meant Greg not paul in the below message. sorry
> thank you all.
>
> Paul. the only thing in the table is 1 username and 1 password and it
> will be that way permanently for the admin login. That may seem weird
> but its the way it was set up from before so I"m just going with it.
>
> Thanks
thank you all.
Paul. the only thing in the table is 1 username and 1 password and it will be that way permanently for the admin login. That may seem weird but its the way it was set up from before so I"m just going with it.
Thanks again.
[Todays Threads]
[This Message]
[Subscription]
[Fast
Well paul, yours and gregs looked the same with the quick glance i gave them so i just copied that latter. sorry :)
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
then you apprentally didnt try the code I posted a while ago..
SELECT *
FROM maintenance_un_pw
where username =
value="#form.username#">
and password =
value="#form.password#">
no records found, report bad login
record found
On Tue, 5 Oct 2004 23:18:58 +0100, Paul Vernon
<[EMAIL PROTECTE
Sorry my bad... it should have been confirm_user.recordcount...
That is the number of records returned by the query confirm_user which you
specify in the cfquery name attribute...
Paul
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and S
I tried the code you all suggested but i get the following error:
Element RECORDCOUNT is undefined in CONFIRMUSER.
What does that mean?
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
You are selecting the entire tables data contents to check one username and
password
You would be better off changing your query to something like this...
SELECT *
FROM maintenance_un_pw
WHERE username =
value="#form.username#" maxlength="30">
AND password =
value="#form.password#"
Include that in your query, like this.
SELECT *
FROM maintenance_un_pw
where username =
value="#form.username#">
and password =
value="#form.password#">
no records found, report bad login
record found
On Tue, 5 Oct 2004 17:43:54 -0400, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I
I should also say that the broken code is transferring the user to the page that is protected whether or not they got the login information right
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
can you define "not working"?
On Tue, 5 Oct 2004 17:43:54 -0400, Phillip Perry
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to do a simple password deal. This is my code for the form...
>
>
> Username:
> Password:
>
>
>
>
> And here is the process page code:
>
> SELECT *
> FROM mainte
Hi,
I'm trying to do a simple password deal. This is my code for the form...
Username:
Password:
And here is the process page code:
SELECT *
FROM maintenance_un_pw
...do this if ysername and password is right...
what to do if its wrong.
I tried it with "'s and with ' and
To: CF-Talk
Subject: RE: Password protection IIS 5 and CFMX
> ok, this is what i have done so far.
>
> add the user to users/groups.
> add the user to the directory permissions for the dir i want
> protected.
> add the user with read/execute perms to the
> runtime/lib/wsc
> ok, this is what i have done so far.
>
> add the user to users/groups.
> add the user to the directory permissions for the dir i want
> protected.
> add the user with read/execute perms to the
> runtime/lib/wsconfig/1/jrun.dll file.
> in iis remove anonymous access for the dir i want protected.
ECTED]
Sent: Thursday, March 06, 2003 12:48 PM
To: CF-Talk
Subject: RE: Password protection IIS 5 and CFMX
> So I need to give the user permissions on the jrun.dll?
> The user being the user that was created on this server
> for access to the password protected directory.
Yes. Any use
> So I need to give the user permissions on the jrun.dll?
> The user being the user that was created on this server
> for access to the password protected directory.
Yes. Any user running a CF file will need to have read/execute rights on
that DLL.
Dave Watts, CTO, Fig Leaf Software
http://www.
-Talk
Subject: RE: Password protection IIS 5 and CFMX
> Did all that. The user has been added to users/groups. The
> user has permissions for that folder. In IIS I have unchecked
> allow anonymous access...
>
> I have tried with basic and integrated authentication and no
> luck.
> Did all that. The user has been added to users/groups. The
> user has permissions for that folder. In IIS I have unchecked
> allow anonymous access...
>
> I have tried with basic and integrated authentication and no
> luck.
>
> The password prompt comes up, but even after entering the
> cor
Don't change the permissions on the Folder. Just use IIS - Integrated
Authentication.
Rick
-Original Message-
From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:56 AM
To: CF-Talk
Subject: RE: Password protection IIS 5 and CFMX
Did all that. The
o: CF-Talk
Subject: RE: Password protection IIS 5 and CFMX
IIRC, you go in and set the permissions on the folder in Windows.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
:
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.gr
IIRC, you go in and set the permissions on the folder in Windows.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -Original Message-
: From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
: Sent: Thursday, March 06, 2003 11:38 AM
: To: CF-Talk
: Subject: Pass
Have set up a new user within Windows and added it to directory security?
-Original Message-
From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]
Sent: 06 March 2003 16:38
To: CF-Talk
Subject: Password protection IIS 5 and CFMX
Ok, this is driving me crazy, what is the proper way to get a
Ok, this is driving me crazy, what is the proper way to get a password
protected directory in IIS5 w/CFMX?
No matter if I try integrated or basic authentication, I cannot get this
to work!
~~
Stephenie
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.
Thanks Steve, Douglas and Martin for your help. Its working!
Mike
NZERN
Mail: PO Box 9000, Christchurch
(03) 338-5451
E-mail: [EMAIL PROTECTED]
http://www.bush.org.nz
___
stead.
Reference it
> within the form scope, eg. isDefined("form.login").
>
>
>
> I hope this helps.
>
> Regards,
>
> Martin.
>
> -Original Message-
> From: Office [mailto:[EMAIL PROTECTED]]
> Sent: 07 February 2002 21:06
> To: CF
ge-
From: Office [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2002 21:06
To: CF-Talk
Subject: Password Protection - whats wrong with this
Oops!
I've taken out the HTML so it won't appear as a web page
Mike
Hi I can't get this to work.It looks for data from SQL7 table calle
Talk
Subject: RE: Password Protection - whats wrong with this
Yeah, your using cflocation, which will not set cookies.
Try using
Or you could use a meta tag, or a javascript redirection.
__
steve oliver
atnet solutions, inc.
http://www.atnetsolutions.com
Oops!
I've tak
]]
Sent: Thursday, February 07, 2002 3:59 PM
To: CF-Talk
Subject: Password Protection - whats wrong with this
Hi I can't get this to work.It looks for data from SQL7 table called
tblUser
I've been fiddling with it but obviously missing something.
Can anyone spot
solutions, inc.
http://www.atnetsolutions.com
-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 4:06 PM
To: CF-Talk
Subject: RE: Password Protection - whats wrong with this
Yeah, your using cflocation, which will not set cookies.
Try using
: CF-Talk
Subject: Password Protection - whats wrong with this
Hi I can't get this to work.It looks for data from SQL7 table called
tblUser
I've been fiddling with it but obviously missing something.
Can anyone spot the error
-
Login
SELECT
ID,
Subject: RE: Password Protection - whats wrong with this
Yeah, your using cflocation, which will not set cookies.
Try using
Or you could use a meta tag, or a javascript redirection.
__
steve oliver
atnet solutions, inc.
http://www.atnetsolutions.com
-Original Message
Oops!
I've taken out the HTML so it won't appear as a web page
Mike
Hi I can't get this to work.It looks for data from SQL7 table called tblUser
I've been fiddling with it but obviously missing something.
Can anyone spot the error
-
SELECT
ID,
Password
FROM
: Thursday, February 07, 2002 3:59 PM
To: CF-Talk
Subject: Password Protection - whats wrong with this
Hi I can't get this to work.It looks for data from SQL7 table called
tblUser
I've been fiddling with it but obviously missing something.
Can anyone spot
Hi I can't get this to work.It looks for data from SQL7 table called tblUser
I've been fiddling with it but obviously missing something.
Can anyone spot the error
-
Login
SELECT
ID,
Password
FROM tblUser
WHERE ID='#Form.userName#' AND password='#Form.pass
If you want to save trips to the database, go an read how I am
doing multi-level security. Follow the link below and read the
custom tags for secruity, they are free to download.
http://www.netwebapps.com/products.cfm
Bryan
-- Original Message --
From:
That is exaclty how you would do it.
-- Original Message --
From: Jeff Fongemie <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 03 Apr 2001 13:43:44 -0400
Hello cf-talk,
I need to build a site, where records will display content for
users.
Hello cf-talk,
I need to build a site, where records will display content for
users. Each user has their own record.
What is the best way to provide password access for the use so they
can access a form to change only their record?
One way I was thinking of, would be just using a dyna
o.com> cc:
Subject: Password Protection
free to download and use, the interface for the built in
manager will be for sale soon.
Bryan
- Original Message -
From: "Heidi Belal" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 9:52 AM
Subject: Password Protection
&g
)
(803) 328-2868 (f)
- Original Message -
From: "CF" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 11:39 AM
Subject: Re: Password Protection
> We have a system where users have access privledges and roles. The access
]>
Sent: Sunday, April 01, 2001 10:52 AM
Subject: Password Protection
> Hi all!
> I have a question that i'd like suggested solutions to
> if possible!
> I want to allow certain people to access certain
> pages.
> I already have a log in page which is password
> pr
-Original Message-
From: Heidi Belal [SMTP:[EMAIL PROTECTED]]
Sent: Sunday, April 01, 2001 10:52 AM
To: CF-Talk
Subject: Password Protection
Hi all!
I have a question that i'd like suggested solutions to
if possible!
I want to allow certain people to access certain
page
Oh! There is a cool system that someone gave me that does just this!
You need to set Privelages..
So on say an admin page, you do a check against a database, to determine if
the user has the "Admin" Privelage.
You need to create groups, otherwise it gets unmanageable.
So :
User table- User Nam
Hi all!
I have a question that i'd like suggested solutions to
if possible!
I want to allow certain people to access certain
pages.
I already have a log in page which is password
protected, but everybody who logs in has full access
to all the pages. I want to eliminate that full
access.
So, how
way more than what you were asking for..or that you're not
sitting there say DUH! ;-]
Stephen
-Original Message-
From: David Hannum [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 12:20 AM
To: CF-Talk
Subject: Re: Examples of Password protection
Try making a table in yo
they have.
Dave
- Original Message -
From: Michael <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Saturday, March 10, 2001 6:43 PM
Subject: Re: Examples of Password protection
> What I am looking for is if you have this password then you have access to
> all th
>news:3aaa4a87$[EMAIL PROTECTED]...
> Looking for some examples of password protection of certain pages or
> view's
>
> Thanks
>
> Michael
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at
/(_/
/_/
Whoof...
410-757-3487
-Original Message-
From: sebastian palmigiani [SMTP:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 11:30 AM
To: CF-Talk
Subject:Re: Examples of Password protection
on 3/10/01 9:35 AM, Michael at [EMAIL PROTECTED] wrote:
> Looking
on 3/10/01 9:35 AM, Michael at [EMAIL PROTECTED] wrote:
> Looking for some examples of password protection of certain pages or
> view's
Near the end of chhapter 17 of the book Mastering ColdFusion 4.5 by Danesh
and Motlagh has a nice section on this.
Looking for some examples of password protection of certain pages or
view's
Thanks
Michael
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www
;[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 14:25
Subject: password protection
> 'lo all,
> I have a directory that holds administrative pages for my client database,
and
> need to secure it (obviously). What is the best way to go about doing that
so
> that one cannot call the
Several approaches the way Isee it, depends on application design:
1) Secure by using the operating system and NTFS ACL's, use a CFX tag that can
interact with Windows NT security to modify privileges as you see fit, while this is
trickier than any other, the security achieved is probably some
'lo all,
I have a directory that holds administrative pages for my client database, and
need to secure it (obviously). What is the best way to go about doing that so
that one cannot call the modules in that directly, circumventing and /login
module...
--
*
I frequently use the server's natural password protection scheme. However,
sometimes there are reasons to use CF (or another lang) to do it, so in that
instance I have a login page that validates the user against a database and
sets a cookie if validation passes. The scheme would be some
53 matches
Mail list logo