• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Restriced access to a view

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
aegressy
Asked:
aegressy
  • 10
  • 6
  • 5
  • +2
1 Solution
 
HemanthaKumarCommented:
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
 
Jean Marie GeeraertsApplication EngineerCommented:
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
 
HemanthaKumarCommented:
Yes for particular view you have to build the view template in that view name.



0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
snocrossCommented:
Listening...
0
 
giusepeCommented:
Listening .....
i need to learn about $$ViewTemplate Form
0
 
Jean Marie GeeraertsApplication EngineerCommented:
What do you need to kow, giusepe ?
0
 
aegressyAuthor Commented:
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
 
Jean Marie GeeraertsApplication EngineerCommented:
Sure, no problem. I'm happy to split points with Hemanth.
0
 
HemanthaKumarCommented:
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
 
snocrossCommented:
Awww... so nice!
0
 
Jean Marie GeeraertsApplication EngineerCommented:
Thanks Hemanth !
Now if you can solve my problem using roles, I'll give you a big A ;-)
0
 
snocrossCommented:
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
 
snocrossCommented:
www...
www..
www.
www
0
 
snocrossCommented:
abcwww.
0
 
snocrossCommented:
abcwww...
abwww...
awww...

Ok, sorry, that's enough of my experimenting!
0
 
HemanthaKumarCommented:
you could have experimented that in your question !
0
 
snocrossCommented:
What fun would that be?
0
 
HemanthaKumarCommented:
ok I have some experiments to be done, I will use your q space ;-)
0
 
snocrossCommented:
Ok, bring it on!
0
 
Jean Marie GeeraertsApplication EngineerCommented:
I hope aegressy is still wanting to give me points for this after your experiments, sno ;-)
0
 
snocrossCommented:
If not I will give you points.
0
 
snocrossCommented:
Yeah, saved!!
0
 
Jean Marie GeeraertsApplication EngineerCommented:
I bet aegressy is ROTFL.
Thanks for the A !!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 10
  • 6
  • 5
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now