CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Protect Records??? H-E-L-P!!!!

Print topic Send  topic

Author Message
dportik

Posts: 1
Posted: 01/06/2006, 5:53 AM

I have a table called past_week with the following fields:
PW1(ID), Task Date, Emp Name, Project Name, StatusName, Task Description, Comments .

I want the people to only be able to update/delete/add their own records. Can someone please tell me the easiest way to do this?
I can't seem to get it to work.
Please help!!!!!
View profile  Send private message
Benjamin Krajmalnik
Posted: 01/06/2006, 7:53 AM

In both the Grid and the Update form add a where statement which filters by
the field which identifies the person.
This way, on the grid they will only see their own records, and if they try
to hack a URL to retrieve another record, it will not be retrieved because
of the underlying check for the employee identifier.
For security reasons, I would place the employee identifier in a session
variable and not pass it through the URL, because then it can be hacked.

"dportik" <dportik@forum.codecharge> wrote in message
news:643be7669d759b@news.codecharge.com...
> I have a table called past_week with the following fields:
> PW1(ID), Task Date, Emp Name, Project Name, StatusName, Task
> Description, Comments .
>
> I want the people to only be able to update/delete/add their own records.
Can
> someone please tell me the easiest way to do this?
> I can't seem to get it to work.
> Please help!!!!!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.