Class SecureFolderProvider
Inheritance
System.Object
SecureFolderProvider
Inherited Members
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class SecureFolderProvider : StandardFolderProvider
Properties
| Improve this Doc View SourceIsStorageSecure
Gets a value indicating whether gets a value indicating if the provider ensures the files/folders it manages are secure from outside access.
Declaration
public override bool IsStorageSecure { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceProtectedExtension
Gets the file extension to use for protected files.
Declaration
public string ProtectedExtension { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetActualPath(FolderMappingInfo, String, String)
Get actual path to a file.
Declaration
protected override string GetActualPath(FolderMappingInfo folderMapping, string folderPath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
FolderMappingInfo | folderMapping | Folder Mapping of the folder. |
System.String | folderPath | Folder Path where the file is contained. |
System.String | fileName | Name of the file. |
Returns
Type | Description |
---|---|
System.String | A windows supported path to the file. |
Overrides
| Improve this Doc View SourceGetActualPath(IFileInfo)
Get actual path to an IFileInfo.
Declaration
protected override string GetActualPath(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file | The file. |
Returns
Type | Description |
---|---|
System.String | A windows supported path to the file. |
Overrides
| Improve this Doc View SourceGetActualPath(IFolderInfo, String)
Get actual path to a file in specified folder.
Declaration
protected override string GetActualPath(IFolderInfo folder, string fileName)
Parameters
Type | Name | Description |
---|---|---|
IFolderInfo | folder | The folder that contains the file. |
System.String | fileName | The file name. |
Returns
Type | Description |
---|---|
System.String | A windows supported path to the file. |
Overrides
| Improve this Doc View SourceGetFiles(IFolderInfo)
Gets the list of file names contained in the specified folder.
Declaration
public override string[] GetFiles(IFolderInfo folder)
Parameters
Type | Name | Description |
---|---|---|
IFolderInfo | folder |
Returns
Type | Description |
---|---|
System.String[] | An array of file names. |
Overrides
| Improve this Doc View SourceGetFileUrl(IFileInfo)
Gets the direct URL to the file.
Declaration
public override string GetFileUrl(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file |
Returns
Type | Description |
---|---|
System.String | The URL. |
Overrides
| Improve this Doc View SourceGetFolderProviderIconPath()
Gets the URL of the image to display in FileManager tree.
Declaration
public override string GetFolderProviderIconPath()
Returns
Type | Description |
---|---|
System.String | The image URL. |