Solved

Restriced access to a view

Posted on 2001-09-01
23
206 Views
Last Modified: 2013-12-18
My question is concerning access rights on opennin documents and listing views on the Web.

Is it possibble, to have a view, wich are documents openned on the Web from, not by UniqueID, but by name (I mean a lookup in the first sorted column, sg like this: http://url/db/view/docname?OpenDocument) AND have access for this view denied for the web visitors??

Resume:
http://url/db/view/docname?OpenDocument should work fine, and
http://url/db/view?OpenView should cause access denied exception.

Thanks for advices!!

Regards
Aegressy
0
Comment
Question by:aegressy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 6
  • 5
  • +2
23 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6447532
For that design a $$ViewTemplateDefault form and have the message on the form as "Access Denied", so whenever user tries to access view it will popup this form.

As far using doc name, you can give the documentkey (i.e. the contents of the first sorted column in the specified view).

Syntax

http://Host/Database/View/DocumentKey?OpenDocument 

~Hemanth
0
 
LVL 8

Accepted Solution

by:
Jean Marie Geeraerts earned 90 total points
ID: 6449745
If this is the only view you want to restrict access to, you name the page "$$Viewtemplate for Name of your View"
If you use $$ViewtemplateDefault and you don't have other $$Viewtemplates defined, the users won't be able to access any views through the web.
For the direct URL, HemanthaKumar was totally right. Just make sure that there are no documents with the same name.
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6450682
Yes for particular view you have to build the view template in that view name.



0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:snocross
ID: 6453462
Listening...
0
 

Expert Comment

by:giusepe
ID: 6459184
Listening .....
i need to learn about $$ViewTemplate Form
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6459675
What do you need to kow, giusepe ?
0
 

Author Comment

by:aegressy
ID: 6687914
Thank you for all your comments!!
Big-big appologize for anwering so late.

Jerrith & Hemanth,

your comments were exactly answers what I asked for. Do you agree with me to split the points between both of you??

Aegressy
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6689034
Sure, no problem. I'm happy to split points with Hemanth.
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6696876
Aegressy, I would like you to give the points to Jerrith fully. This is just a gift for JM's successful 100 good answers.

~Hemanth
0
 
LVL 5

Expert Comment

by:snocross
ID: 6697110
Awww... so nice!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6698174
Thanks Hemanth !
Now if you can solve my problem using roles, I'll give you a big A ;-)
0
 
LVL 5

Expert Comment

by:snocross
ID: 6698653
Wow, that was interesting... I just typed the word Awww... and it converted it to a URL.  What if I just type www ?  Or how about wwwow!
0
 
LVL 5

Expert Comment

by:snocross
ID: 6698655
www...
www..
www.
www
0
 
LVL 5

Expert Comment

by:snocross
ID: 6698657
abcwww.
0
 
LVL 5

Expert Comment

by:snocross
ID: 6698659
abcwww...
abwww...
awww...

Ok, sorry, that's enough of my experimenting!
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6711772
you could have experimented that in your question !
0
 
LVL 5

Expert Comment

by:snocross
ID: 6715386
What fun would that be?
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6715457
ok I have some experiments to be done, I will use your q space ;-)
0
 
LVL 5

Expert Comment

by:snocross
ID: 6715486
Ok, bring it on!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6717232
I hope aegressy is still wanting to give me points for this after your experiments, sno ;-)
0
 
LVL 5

Expert Comment

by:snocross
ID: 6718273
If not I will give you points.
0
 
LVL 5

Expert Comment

by:snocross
ID: 6719077
Yeah, saved!!
0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6719905
I bet aegressy is ROTFL.
Thanks for the A !!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question