Results 1 to 4 of 4
  1. #1
    marcustofeles is offline Novice
    Windows XP Access 2002 (version 10.0)
    Join Date
    Oct 2011
    Posts
    23

    Limiting users to Write-Only

    Having a security issue that I'm struggling to find a solution for.

    Objective: Create a DB where every company user is allowed to add new records but not read existing records. Any ideas?




    Background: Users are to use DB to record possibly sensitive issues related to work environment. These records should then only be possible to be read by user on manager levels.
    Best option I've come up with so far is to disable the Navigation Pane + disabling shift key on the FE, and then password protect the BE, but that doesn't seem secure enough.

    Most appreciative for any help!

  2. #2
    Join Date
    Apr 2017
    Posts
    1,792
    The table (e.g. YourTable) has a smallint field (e.g. IsSaved);
    The form has datasource like "SELECT * FROM YourTable WHERE IsSaved = 0". The form has hidden control with IsSaved as source (txtIsSaved).
    Whenever the record is saved, BeforeUpdate event of form sets txtIsSaved = 1;
    AfterUpdate event of form requeryes the form.

  3. #3
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    I would do all the security measures you suggested and much more. See my extended two part article of improving security in Access databases http://www.mendipdatasystems.co.uk/i...ity/4594461803

    For your immediate issues set Data Entry =Yes in the form properties or use code to open it :
    Code:
    DoCmd.OpenForm "FormName", , , , acFormAdd
    You will also need to provide a button code visible only to managers that allows existing records to be viewed
    Code:
    DoCmd.OpenForm "FormName", , , , acFormEdit
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  4. #4
    marcustofeles is offline Novice
    Windows XP Access 2002 (version 10.0)
    Join Date
    Oct 2011
    Posts
    23
    Thank you very much gentlemen!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 08-01-2018, 03:58 PM
  2. Limiting What Users Can See
    By whisp0214 in forum Database Design
    Replies: 2
    Last Post: 04-10-2018, 02:33 PM
  3. Limiting rights to different users
    By bharatmvs in forum Access
    Replies: 2
    Last Post: 03-22-2015, 08:54 AM
  4. Replies: 5
    Last Post: 12-17-2014, 10:31 AM
  5. Limiting access to certain users only
    By huskies in forum Security
    Replies: 1
    Last Post: 04-01-2009, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums