Method(s) | Registry Value | Comments |
---|
UploadManager.Save | DisableSave | When this main method is disabled, users will be forced to use the SaveVirtual method which accepts a virtual, rather than physical, directory as an argument. This way users will be confined to their own virtual directory and subdirectories. |
UploadedFile.SaveAs | DisableFileSaveAs | When this method is disabled, users will be forced to use the File.SaveAsVirtual method which accepts a virtual, rather than physical, directory as an argument. This way users will be confined to their own virtual directory and subdirectories. |
UploadManager.LogonUser UploadManager.RevertToSelf | DisableLogonUser | Disables user impersonation functionality. |
UploadedFile.AllowAccess UploadedFile.DenyAccess UploadedFile.RevokeDenial UploadedFile.RevokeAllowance UploadedFile.SetOwner | DisableACL | Disables permission manipulation functionality. |
UploadManager.CopyFile UploadedFile.Copy | DisableFileCopy | When these methods are disabled, the users will be forced to use UploadedFile.CopyVirtual. |
UploadManager.RegisterServer | DisableRegisterServer | Disables ActiveX registration functionality. |
UploadManager.RemoveDirectory | DisableRemoveDirectory | Disables directory removal functionality. |
UploadManager.DeleteFile | DisableFileDelete | Disables file deletion functionality. UploadedFile.Delete is not affected by this setting, however. If Upload.OpenFile is also disabled, a user will only be able to delete newly uploaded files. |
UploadManager.SendBinary | DisableSendBinary | Disables file download functionality. |
UploadManager.Directory | DisableDirectoryListing | Disables directory listing functionality. |
UploadManager.OpenFile | DisableOpenFile | With OpenFile, an UploadedFile object can be created from an arbitrary file on the hard drive, and methods such as File.Delete can be called. Disabling this method limits a user to newly uploaded files only. |