Solved

Restriced access to a view

Posted on 2001-09-01
23
202 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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