• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SecureFolderProvider

Inheritance
System.Object
FolderProvider
StandardFolderProvider
SecureFolderProvider
DatabaseFolderProvider
Inherited Members
StandardFolderProvider.RequiresNetworkConnectivity
StandardFolderProvider.SupportsMoveFile
StandardFolderProvider.SupportsMoveFolder
StandardFolderProvider.CopyFile(String, String, String, FolderMappingInfo)
StandardFolderProvider.AddFile(IFolderInfo, String, Stream)
StandardFolderProvider.AddFolder(String, FolderMappingInfo)
StandardFolderProvider.DeleteFile(IFileInfo)
StandardFolderProvider.DeleteFolder(IFolderInfo)
StandardFolderProvider.FileExists(IFolderInfo, String)
StandardFolderProvider.FolderExists(String, FolderMappingInfo)
StandardFolderProvider.GetFileAttributes(IFileInfo)
StandardFolderProvider.GetFileSize(IFileInfo)
StandardFolderProvider.GetFileStream(IFileInfo)
StandardFolderProvider.GetFileStream(IFolderInfo, String)
StandardFolderProvider.GetLastModificationTime(IFileInfo)
StandardFolderProvider.GetSubFolders(String, FolderMappingInfo)
StandardFolderProvider.IsInSync(IFileInfo)
StandardFolderProvider.MoveFile(IFileInfo, IFolderInfo)
StandardFolderProvider.MoveFolder(String, String, FolderMappingInfo)
StandardFolderProvider.RenameFile(IFileInfo, String)
StandardFolderProvider.RenameFolder(IFolderInfo, String)
StandardFolderProvider.SetFileAttributes(IFileInfo, FileAttributes)
StandardFolderProvider.SupportsFileAttributes()
StandardFolderProvider.UpdateFile(IFileInfo, Stream)
StandardFolderProvider.UpdateFile(IFolderInfo, String, Stream)
StandardFolderProvider.GetActualPath(FolderMappingInfo, String)
StandardFolderProvider.GetActualPath(IFolderInfo)
StandardFolderProvider.GetFileStreamInternal(String)
StandardFolderProvider.GetRelativePath(FolderMappingInfo, String)
FolderProvider.SupportsMappedPaths
FolderProvider.GetProviderList()
FolderProvider.Instance(String)
FolderProvider.AddFolder(String, FolderMappingInfo, String)
FolderProvider.GetFileStream(IFolderInfo, IFileInfo, Int32)
FolderProvider.GetSettingsControlVirtualPath()
FolderProvider.GetEncryptedSetting(Hashtable, String)
FolderProvider.EncryptValue(String)
FolderProvider.GetHashCode(IFileInfo)
FolderProvider.GetHashCode(IFileInfo, Stream)
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class SecureFolderProvider : StandardFolderProvider

Properties

| Improve this Doc View Source

IsStorageSecure

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
FolderProvider.IsStorageSecure
| Improve this Doc View Source

ProtectedExtension

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 Source

GetActualPath(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
StandardFolderProvider.GetActualPath(FolderMappingInfo, String, String)
| Improve this Doc View Source

GetActualPath(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
StandardFolderProvider.GetActualPath(IFileInfo)
| Improve this Doc View Source

GetActualPath(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
StandardFolderProvider.GetActualPath(IFolderInfo, String)
| Improve this Doc View Source

GetFiles(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
StandardFolderProvider.GetFiles(IFolderInfo)
| Improve this Doc View Source

GetFileUrl(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
StandardFolderProvider.GetFileUrl(IFileInfo)
| Improve this Doc View Source

GetFolderProviderIconPath()

Gets the URL of the image to display in FileManager tree.

Declaration
public override string GetFolderProviderIconPath()
Returns
Type Description
System.String

The image URL.

Overrides
StandardFolderProvider.GetFolderProviderIconPath()

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS