EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Compatibility with IIS

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#18600
Posted: 01/02/2012 18:39:31
by Sangmin Lee (Standard support level)
Joined: 06/03/2009
Posts: 57

I saw IIS wasn't compatible with the network drive being mounted by CBFS.
There''s no problem on removable drive.

Is it CBFS characteristic?

Sangmin
#18601
Posted: 01/02/2012 23:04:12
by Eugene Mayevski (EldoS Corp.)

"I saw" contains no useful information regarding the problem. Please describe it in more details what you were doing and what didn't work for you.


Sincerely yours
Eugene Mayevski
#22569
Posted: 11/20/2012 20:41:58
by Kenny Kim (Standard support level)
Joined: 08/19/2009
Posts: 38

Hello.

I'm also having similar issue.

I'm mounting a virtual drive (I:\), and in ISS Manager creating a new Web Site.

For the physical path of the Web Site I'm setting the root path (I:\).
In the root path there is "index.html" file.

When I try to access localhost (http://localhost/index.html), there is an error indicating that the path does not exist (please, see attached image).


Drive characteristics are as following:

Code
mCbFs.StorageType = CbFsStorageType.stDisk;
mCbFs.StorageCharacteristics = 0;


I have tried the following combinations of flags, but still could not make it work:

Code
mCbFs.AddMountingPoint(driveLetter + ":", CallbackFileSystem.CBFS_SYMLINK_LOCAL, null);
mCbFs.AddMountingPoint(driveLetter + ":", CallbackFileSystem.CBFS_SYMLINK_MOUNT_MANAGER, null);
mCbFs.AddMountingPoint(driveLetter + ":", CallbackFileSystem.CBFS_SYMLINK_SIMPLE, null);


What am I doing wrong?

I would appreciate any help.
Thank you.

Win 7 x64
CbFs 3.2.118.299


#22571
Posted: 11/21/2012 01:24:00
by Eugene Mayevski (EldoS Corp.)

It is likely that IIS works only with physical disks, in which case you need to set StorageType to stDiskPnP (and have drivers installed in PnP mode). Then add a mounting point with CBFS_SYMLINK_MOUNT_MANAGER flag.


Sincerely yours
Eugene Mayevski
#22574
Posted: 11/21/2012 01:49:09
by Kenny Kim (Standard support level)
Joined: 08/19/2009
Posts: 38

I did as you said, but the result is same as before.

And drive is seen in Windows Disk Management Console too.
#22578
Posted: 11/21/2012 02:39:40
by Kenny Kim (Standard support level)
Joined: 08/19/2009
Posts: 38

Also, we have an application, which uses an older version of CbFs (not sure which one). There, disk is created as following:

Quote
mCbFs->SetStorageCharacteristics(mCbFs->scRemoteDevice);
mCbFs->AddMountingPointEx(MountingPoint, FALSE, NULL);

In this case, IIS works fine with this drive.

How to make an equivalent call as above in C# API in CbFs 3.x?

Thank you.
#22580
Posted: 11/21/2012 03:20:29
by Volodymyr Zinin (EldoS Corp.)

We will try to reproduce the problem and write the result here.
#22599
Posted: 11/21/2012 10:45:37
by  Eugene Kozarovitsky
Hello, Ulughbek,

Please, can you help me to reproduce described issue? In my experiments ISS site works fine with CbFs drive.
The only case where I received the error message you've posted was caused by wrong site settings (when the new site uses the same port as the Default Web Site). Have you tried to specify some real physical path for the new site (instead of the root path for CbFs drive)?
Maybe you can describe more precisely the steps to reproduce your situation? Also, please, download the latest CbFs v.3 (https://www.eldos.com/cbfs/download-release.php) and try it.
#22606
Posted: 11/22/2012 03:11:46
by Kenny Kim (Standard support level)
Joined: 08/19/2009
Posts: 38

Hello, Mr. Kozarovitsky.

I also tried IIS with Mapper example, and it is working fine.

Here are more details:
After configuring IIS, when I open "http://localhost:8085/index.html", the page is shown only once. After that, no matter what I do, it is not possible to see the contents of "index.html" again. The above error is coming.

After restarting IIS, again the same scenario as above: only once.

Are there any security issues related to drive involved in here?
#22607
Posted: 11/22/2012 03:53:28
by  Eugene Kozarovitsky
Quote
After that, no matter what I do, it is not possible to see the contents of "index.html" again. The above error is coming.

I.e. you press F5 and get error message. Am I right?
Quote
I also tried IIS with Mapper example, and it is working fine.

So, maybe the reason is somewhere in your code. Can you submit it?

And, just in case, have you tried your site with *normal*, non-CbFs folder?
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 2671 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!