Network file system

Hi all!

I need to expose my application as a virtual network
drive. I thought about the following options:

  1. Write a file-system device driver (or purchase a
    package from OSR/StorageCraft etc.). The fsd will have
    to interact with ring-3 application that will
    represent my application data as a network drive. Then
    I’ll share that file system as a network drive.

  2. Write a Netbios server - use ring-3 netbios API in
    order to export a network-share, use netbios as
    listener to get connections, and translate the clients
    SMB requests to my application and return SMB answers
    to the client that will represent my application.

Option 1 requires deep understanding of FSD, and
interaction with ring-3 service is definitely not
trivial.

Option 2 requires deep understanding of the SMB
protocol which is complicated and not really
documented, and somehow it seems not popular in the
world, however it involves no device driver.

does anyone has experience with option 2?
does anyone has any other recommendations/insights?

thanks!

Yair


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

One possibility I know has been done is to use the Samba, SMB server to do
most of the work for option 2. Depending on how you do this you will hit
GPL issues so that has to be considered. This will eliminate much of the
requirements for the deep SMB understanding.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“sade” wrote in message news:xxxxx@ntfsd…
> Hi all!
>
> I need to expose my application as a virtual network
> drive. I thought about the following options:
>
> 1. Write a file-system device driver (or purchase a
> package from OSR/StorageCraft etc.). The fsd will have
> to interact with ring-3 application that will
> represent my application data as a network drive. Then
> I’ll share that file system as a network drive.
>
> 2. Write a Netbios server - use ring-3 netbios API in
> order to export a network-share, use netbios as
> listener to get connections, and translate the clients
> SMB requests to my application and return SMB answers
> to the client that will represent my application.
>
> Option 1 requires deep understanding of FSD, and
> interaction with ring-3 service is definitely not
> trivial.
>
> Option 2 requires deep understanding of the SMB
> protocol which is complicated and not really
> documented, and somehow it seems not popular in the
> world, however it involves no device driver.
>
> does anyone has experience with option 2?
> does anyone has any other recommendations/insights?
>
> thanks!
>
> Yair
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>