EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Case Sensitivity of file names

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#7807
Posted: 10/06/2008 14:25:42
by Sid Schipper (Standard support level)
Joined: 03/14/2008
Posts: 285

I have noticed in my debugging logs that the file names passed in to the callback functions sometimes are all upper case and other times are not. Is it CBFS that determines this? or is it Windows?
#7808
Posted: 10/06/2008 15:12:17
by Volodymyr Zinin (EldoS Corp.)

There is a parameter for Windows file systems that specifies whether file names are case sensitive or not. In CallbackFS it is statically set to case insensitive. For details of this parameter you can see in MSDN the flag FILE_CASE_SENSITIVE_SEARCH in the FileFsAttributeInformation request.
It's possible to make an api function that will set this flag but I think it is useless because lots of programs "think" that file names in Windows are case insensitive.
#7818
Posted: 10/07/2008 16:17:37
by Sid Schipper (Standard support level)
Joined: 03/14/2008
Posts: 285

It is not critical to our application, but our database system is case sensitive, so a user can create virtual files in our system outside of the CBFS virtual disk that have the same names but just differ by case.

This is not that much of a problem because most of the time a user who does that is a user of our system on Linux or some other non-Windows operating system. In general our Windows users will either be using our Virtual Disk, in which case they would not be able to create such conflicting file names, or if they have legacy files that are defined like that the results using the Virtual Disk would be unpredictable, but anything they had before (like a Samba server, which is what the virtual disk system is replacing) would also have had the same problem.

So, I repeat, it is not critical to us, but it would be interesting to have the ability to set that flag.
#7821
Posted: 10/08/2008 01:09:02
by Volodymyr Zinin (EldoS Corp.)

Ok. I will check it and answer you a little later.
#7921
Posted: 10/20/2008 08:26:28
by Volodymyr Zinin (EldoS Corp.)

Hello,

Sorry for the delay. I've attached the corrected driver (it has the version 0.0.0.1). Try it with the new beta version of CallbackFS. Your implementation of the OnCreate/OnOpen callbacks must also be case sensitive.


[ Download ]
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 2579 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!