Home > Ask the Domino Experts > Lotus Instant Messaging/Sametime Questions & Answers > Can I limit access to a document in an intranet app?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Can I limit access to a document in an intranet app?

Hans van der Burg EXPERT RESPONSE FROM: Hans van der Burg

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 08 May 2003
I am developing an intranet application that will be accessed via a browser, authenticated by all users, session-based and developed on R 6.0.1. How can I prevent a user from opening a document in a view (applet) if he/she have not the necessary access?

I have tried to do something using a WebQueryOpen event but it is impossible to stop opening the document or redirect the user another URL.


>
You can't control that, as it is part of the view applet internal design. But when a user is seeing documents in a view they are not allowed to open, than there is something wrong with your security design. Why do you want to show the document at all, if you don't want them to open it? It is better to hide the document totally by using the Readers & Author fields at the document level.

However, if you need to show the document, despite the fact that a user cannot open it, try to use a form formula at the view level, based on a user role. You can than show the document with a blank form containing a JavaScript event "history.go(-1)" in the onLoad event, returning the user to the view. If the decision of whether the user can see the document or not is based on content in the document, use computed subforms. These subforms than contain the necessary fields to display when a user can see the content, and the necessary JavaScript code, and no fields to prevent other users from seeing the content.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Lotus Instant Messaging/Sametime
How to enable communication between multiple Lotus Sametime servers
Lotus Sametime users with different 'home' servers cannot see each other online
Resources for deploying Lotus Sametime on the Internet
No one can see Lotus Sametime user is online
Meeting windows won't appear on Sametime 7 with Sametime Connect 3 client
Saving and archiving Lotus Sametime Web conferences
Collaborating with clients who don't have Sametime
Unable to log into Sametime through Notes with SSO
Can Lotus Notes leverage domain authentication?
Updating local location documents for Sametime users

Lotus Notes Domino User Settings
Secure Lotus Notes/Domino 8.x from mail to unknown recipients
How to turn off the message recall feature in Lotus Notes 8
Domino server setting and email policy tricks admins must know
Top 10 Lotus Notes/Domino administration tips of 2008
Synchronize LinkedIn contacts with Lotus Notes Domino
Setting up local replication of a Lotus Notes database for offline employees
Secure Microsoft Excel spreadsheets with LotusScript
Programmatically create a shortcut for Lotus Notes
How to create a comments field for Lotus Notes documents
The truth about AutoSave in Lotus Notes/Domino 7

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts