dbTalk Databases Forums  

Request on a Web-publish database for exact value

comp.databases.filemaker comp.databases.filemaker


Discuss Request on a Web-publish database for exact value in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Patenaude
 
Posts: n/a

Default Request on a Web-publish database for exact value - 10-06-2004 , 02:10 PM






Using FMPro 6 and CDML code to retreive a file by the Web, how can I fix the
code in order that a user cannot access a file without giving the EXACT value
contained in a field of the database.

For example, I have a field named CODE with 8 characters (ex.: AB678XY2).
Using a form action and a text field, actually the user may enter something like
AB* to retreive a file where the code begin with "AB".

What I want is that the user must enter the complete content of the code field
to access the file. I cannot use the code:
<input type="hidden" name="-Op" value="eq">
neither
<input type="hidden" name="-Op" value="bw">
<input type="text" value="==">

because the I use a field name instead of a fixed content
<input type="text" name="Code" value=""
in the form...

Someone can help me?

Reply With Quote
  #2  
Old   
Kevin Hayes
 
Posts: n/a

Default Re: Request on a Web-publish database for exact value - 10-06-2004 , 02:29 PM






Paul Patenaude wrote:

Quote:
Someone can help me?
Your method wouldn't work also for the fact that a user can craft their
own url by looking at the source.

Look at the Web Security database - I believe you can put an "exact"
find restriction on specific fields in the table. If the user doesn't
specify it exactly, they get an error.




Reply With Quote
  #3  
Old   
Tim 'Webko' Booth
 
Posts: n/a

Default Re: Request on a Web-publish database for exact value - 10-08-2004 , 01:30 AM




"Paul Patenaude" <ppat2000 (AT) yahoo (DOT) com> wrote

Quote:
Using FMPro 6 and CDML code to retreive a file by the Web, how can I fix
the
code in order that a user cannot access a file without giving the EXACT
value
contained in a field of the database.

For example, I have a field named CODE with 8 characters (ex.: AB678XY2).
Using a form action and a text field, actually the user may enter
something like
AB* to retreive a file where the code begin with "AB".

What I want is that the user must enter the complete content of the code
field
to access the file. I cannot use the code:
input type="hidden" name="-Op" value="eq"
neither
input type="hidden" name="-Op" value="bw"
input type="text" value="=="

because the I use a field name instead of a fixed content
input type="text" name="Code" value=""
in the form...
If it needs to be that exact and secure, then CDML has some limitations.
Now, what is the actual problem if they retrieve a larger set? Why is it an
issue?

Cos there are other ways to restrict sets - and Kevin is right, exact match
may be one of them in the Web Sec database... but there are more, depending
on what you are really trying to do.

Webko




Reply With Quote
  #4  
Old   
Paul Patenaude
 
Posts: n/a

Default Re: Request on a Web-publish database for exact value - 10-08-2004 , 01:49 PM



Tim 'Webko' Booth wrote:
Quote:
"Paul Patenaude" <ppat2000 (AT) yahoo (DOT) com> wrote in message
news:TqX8d.173594$ji3.1803895 (AT) weber (DOT) videotron.net...

Using FMPro 6 and CDML code to retreive a file by the Web, how can I fix

the

code in order that a user cannot access a file without giving the EXACT

value

contained in a field of the database.

For example, I have a field named CODE with 8 characters (ex.: AB678XY2).
Using a form action and a text field, actually the user may enter

something like

AB* to retreive a file where the code begin with "AB".

What I want is that the user must enter the complete content of the code

field

to access the file. I cannot use the code:
input type="hidden" name="-Op" value="eq"
neither
input type="hidden" name="-Op" value="bw"
input type="text" value="=="

because the I use a field name instead of a fixed content
input type="text" name="Code" value=""
in the form...


If it needs to be that exact and secure, then CDML has some limitations.
Now, what is the actual problem if they retrieve a larger set? Why is it an
issue?

Cos there are other ways to restrict sets - and Kevin is right, exact match
may be one of them in the Web Sec database... but there are more, depending
on what you are really trying to do.

Webko


It is important because the "access code" is made of letters and digits, let's
say "J89AB123" or "J34DF057"... Then if a user want to access his own file
using a code made of jokers like *89AB*, he will retreive a lot of files that
does not belong to him and might contain personal informations... That's why!

So what I am looking for is the equivalent of making a search in a FM database
using an exact match code in a field like ="J34DF057" but using a field
description with CDML.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.