What is WebNFS browsing in Solaris ?

Posted on 2009-05-02
Last Modified: 2013-12-27
I got to know if I share a resource with '-public' while using the 'share' command then the available resource would be available for WebNFS browsing. Could someone explain me what is WebNFS browsing in Solaris?
Question by:beer9
    LVL 22

    Accepted Solution

    In NFS version 3, before you can access any filesystem on the server, you must get a "handle" for the file system. The mount protocol does this using the mountd daemon. You give it a path for the file system you want to mount, and mountd gives you the handle. You then use this handle in the subsequent NFS calls. This handle is essentially the file handle of the root directory of the file system.

    The problem with this is that now, if you want to allow access to NFS across a filewall, you have to allow through both the NFS and the mountd protocols. What is worse, while NFS can use either TCP or UDP, mountd only uses UDP, which most admins are not willing to allow through their filrewall.

    So, to get around this, WebNFS was invented. With WebNFS, one filesystem on each server is designated the "public" file system, and its file system handle is set to a well known value that is always the same on
    every server. So, for just that one file system, you can get around using the mount protocol and start right
    in with NFS over TCP.

    The reason it was called WebNFS, is that it was orignally envisioned as a add on to web browsers, with the
    browsers knowing the handle and understanding NFS. Sun released a developement kit, but it never really
    caught on, and after about 10 years, Sun stopped shipping the WebNFS dev kit bundled with Solaris. I think the kit is still available separately though.

    Hope that helps.

    Author Closing Comment

    Thank you blu :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    737 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

    17 Experts available now in Live!

    Get 1:1 Help Now