Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support

Support Forum

Restricting view of data to user
Kindar asked:
We are looking to use this site similiar to an EDS solution.  We wish to load information onto the site and then have an individual compnay look on the site and see only the records that pertain to them.  We would then like for them to download that information on to their system.  We have been very impressed by what your web solution can provided but before I can make the move I must get this problem resolved.

Thank You!
  marki responded:
  In order to restrict the records that a user can view, you need to use a .view file that filters based on some information about the user. The user will not be able to work-around the filter, so this is a safe method of restricting access.

An example of this is in the /AddressBook/default.view file created by default in new webs. The filter is set using this code:

// Guests can see only their own record.
var filt = "";
   filt = "=OwnedBy='" + + "'";

And used in the datasource: <ws:datasource filter="#filt#" />

To allow users to download records in some format other than HTML you will have to write some script. What format do you need the data in? Perhaps we can help with sample code.

We intend to make making both of these problems even easier to solve in future versions.
  dougl responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

DataWeb Support
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us