logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Jez D
    • Posted on Thu 21 Mar 2002

    [<font color=navy><i>Interesting!! These are the methods I use.</i><br><br>] Many people, try to circumvent the navigation structure of your domino web application by typing one of the following into the location bar:

    www.domainname.tld/dbname.nsf/$DefaultNav www.domainname.tld/dbname.nsf/$DefaultView www.domainname.tld/dbname.nsf/$DefaultForm

    The first two options result in the person seeing a list of all your unsecured unhidden views, such as By Unique ID and By Keyword. When they click on the links the will be able to see these views, which is probably not what you wanted. Or they may be able to see the views in a way other than what you intended, for example - if the view is normally seen embedded, it will be shown here in the $$ViewTemplateDefault or $$ViewTemplate for *

    Try it yourself and see.

    To prevent this, create a redirection document in your Domino Directory for the server / virtual server. Incoming URL string = */%24Def* Redirect URL = www.yourdomain-name.co.uk When done restart the http task and then try it yourself.

    Another method is much more simpler. If like me (and Jake) you use view names in the URL, this is useful. I have www.aj-connection.com/ajc/web.nsf/public/introduction as the start page for a web application, but I do not want people using www.aj-connection.com/ajc/web.nsf/public to see what else the view contains. Restricting access to the view will be counter productive, as this will also prevent people reading the documents. So instead I 1. Make sure that the views I do to browse have a $$ViewTemplate for * 2. Make a $$ViewTemplateDefault

    use "Hide if formula is true" with !@Name([CN];@Username)="Jez Daniels" on the $$ViewBody of the view template which I do not want people using. Thus, if I want to see ot on the web, I just have to: 1. type www.domain.com/dbase.nsf!Open&login 2. Login and find the view in question.

    The anonymous user will still be able to access documents contained in the views using the URL's I provide.

    AFTER writing this piece, I found this: http://www.codestore.net/A55692/store.nsf/all/0E5C6C349E9889EC8625699F00360442?O penDocument There are however some differences.

    Jez D

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: