Comments (6)
Hi, Thanks,
The library was designed to support all kinds of virtual file systems,
I haven't implemented one based on DB content, but it's definitely possible.
if you want fine control over the file system then implementing the low-level INTFileStore is the way to go.
Another possibility is to implement the more basic IFileSystem (and let the adapter class do the heavy lifting), I would probably start there because it's much easier to implement (at the cost of granularity).
from smblibrary.
Thank you! I'll try with IFilesystem interface :-)
from smblibrary.
You can confirm me that in IFilesystem interface there was nothing to understand the security context in which the request was done?
from smblibrary.
Yes, there is a long explanation, but the gist is that SMBLibrary allows you fine control over which user can access which directory / file at the share level, so I felt it wasn't really necessary in IFileSystem as well.
(the lower-level INTFileStore.CreateFile does have a securityContext parameter)
p.s. Here is an (old) example that implements IFileSystem:
https://github.com/TalAloni/SMBLibrary/tree/9fe283762a21546be5787735a6fe719fa2e20172/SMBServer/DirectoryFileSystem
from smblibrary.
Thanks you!
from smblibrary.
great job!
from smblibrary.
Related Issues (20)
- High RAM consumption. HOT 10
- Is it possible to get a login and NTLM? HOT 4
- Making ClientMaxReadSize and ClientMaxWriteSize Configurable HOT 1
- The new Connect method in the 1.5.0.2 version HOT 1
- ACCESS_DENIED_ACE type is missing HOT 1
- Login without user and password HOT 1
- Bug after latest ArrayPool implementation HOT 4
- Issue not receiving ReadResponse when reading a file HOT 16
- Renaming File to one Character HOT 1
- Async exception on sync operation HOT 6
- SMBServer.exe HOT 1
- NullReferenceExceptions in OnClientSocketReceive and unhandeled SocketExceptions in async process HOT 15
- how can I use SMB2 upload larger file in 'ResumeFromBreakPoint' mode? HOT 4
- Copying a file while having an STATUS_SHARING_VIOLATION HOT 1
- UnobservedTaskException after Client.Disconnect() HOT 5
- SMBServer.exe HOT 1
- IsLoggedIn Getter HOT 1
- Exception thrown by .net Framework. HOT 7
- How to Access a File With in the Sub Folders Using SMB2Client
- [Question] FileSystemWatcher-like support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smblibrary.