? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumDevelopmentDevelopmentIFolderInfo - IsProtectedIFolderInfo - IsProtected
Previous
 
Next
New Post
4/7/2015 6:42 AM
 

I recently created a secure folder using the DNN File Manager GUI.  When investigating the properties of the folder in the code behind I noticed the "IsProtected" property.  When I view this property in the debugger, it is set to False.  I view the IsStorageSecure property and it is set to True.  I altered the permissions on the folder so everyone except Administrators are explicitly denied but this did not alter the IsProtected value.  I use the following code to retrieve the IFolderInfo object:

string FileAssetFolderName = "MyFolderName";

IFolderInfo fi = folderManager.GetFolder(PortalId, FileAssetFolderName);

What does the variable IsProtected tell me about the folder and how might I go about altering it if desired?

Thanks

 
New Post
4/15/2015 4:03 AM
 

Andy,

I am not sure that the IsProtected property does.  I know that from the database, a folder is considered secure when the FolderMappingID in the Folders table refers to a FolderMappings record that has the SecureFolderProvider for that portal ID.  The permissions on a secure folder are stored in the FolderPermissions table.  So I wouldn't worry too much about the IsProtected property as long as the folder is secure and the permissions are working as expected when trying to access the files.

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentIFolderInfo - IsProtectedIFolderInfo - IsProtected



Try FREE
30 days money back guaranteed