Solved

Restriced access to a view

Posted on 2001-09-01
23
199 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
  • 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now