Portal Engine
Version 2.x > Portal Engine > Securing folders View modes: 
User avatar
Member
Member
persun - 1/11/2007 11:26:25 AM
   
Securing folders
Hi,

I have a folder in my content tree containing software downloads for registered users. I have managed to secure pages so that public users are redirected to the login/registration page. However, applying the same permissions/settings to a folder doesn't seem to do the trick. I want redirection to occur when the user is trying to access a particular file in the secured folder (by clicking a link on my downloads page). The download links look like this: http://localhost/getdoc/6367b28c-fa27-48fc-bd02-3f249da58520/3D_data.aspx

What am I doing wrong? Is there a way to secure folders in my content tree?

Thanks,

Per

User avatar
Member
Member
ericcone - 1/11/2007 7:03:13 PM
   
Re: Securing folders
Using Kentico, not really. You have a few options.

1. Change the VirtualPathProvider so it processes the folders, too.

2. Create the folder on the file system and use IIS to redirect users to login.

Eric

User avatar
Member
Member
matt - 1/12/2007 10:07:41 PM
   
Re: Securing folders
Can you make a new document type that's also a folder and secure that? Any child nodes in the tree from where ever you place this new "folder type" would, theoretically be secure-able items, right?

User avatar
Guest
admin - 1/20/2007 6:18:08 PM
   
Re: Securing folders
Hello,

this is actually a bug in 2.0b. We will fix it in 2.1 so that the system checks if the file is placed in a secured area.

I'm sorry for this inconvenience.

Best Regards,

User avatar
Member
Member
persun - 1/22/2007 12:52:21 PM
   
Re: Securing folders
That's great news.

Thanks!