You need to Register for free and Login to post a message in the forum.

Forum

Subject: File Manager with Limited Access
Prev Next
You are not authorized to post a reply.

Author Messages
tds_softwaredev
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

03 Jul 2008 5:02 PM  

Hi Everyone,

I was hoping someone might have a solution for a little problem I have run into. I want to give some people access to the file manager to upload files to a DNN site. I followed the tutorial "How to limit access to the admin menu" to move the file manager out of the admin menu and into a new "Site Admin" menu. I am able to do just about everything, I can move files around create new folders and delete folders.

What I cannot do is add new files. I click upload and instead of the page refreshing and getting the upload module box I get an "Access Denied - Either you are not currently logged in, or you do not have access to this content." 

I am still able to use the File Manager with the host and admin accounts and any accounts I give Admin access to. I'm guessing that for some reason the permissions are being lost between the file manager and the upload. I checked the File Manager security settings on the folder and I gave read/write access. I don't know what else to do. Does anyone have any ideas please?


Thanks everyone for taking some time to help.

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

04 Jul 2008 7:27 AM  
Hello,

I have just tested this and have the same problem. Perhaps it would be worth looking for document upload management modules? there was a discussion here

You may want to look at bring2mind Document Exchange

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
tds_softwaredev
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

07 Jul 2008 10:18 AM  
Thanks for the help Lee!
tds_softwaredev
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:4

07 Jul 2008 1:23 PM  
Hey Lee,
     If you ever run into this again I found a solution. The file manager webupload.ascx.vb file has a method CheckSecurity() that has a hard coded check to see if the person trying to access it is either the admin or super user. If it's not one of those access is denied. All I had to do was add an extra if statement saying if the user is in my "site admin" role to allow access.
     If anyone is interested the code is:

If DotNetNuke.Security.PortalSecurity.IsInRole("YourRoleName") Then
     DenyAccess = false
End If

Thanks a bunch for your help and for pointing me in the right direction!
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

10 Jul 2008 1:41 PM  
That's great, thanks for the tip I'm sure everyone will find that useful,

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > File Manager with Limited Access



ActiveForums 3.7

Latest Forum Posts

DNN Intranet Localhost by amine97
Hi, I would like to start an Intranet for my division (65 users) but only 10 users will have the ed...
RE: Menu's, menu's, and more menu's! by roadshow41
Well, I've purchased the Snapsis CSSMenu.  Installing it is turning out to be more complicated than ...
RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
AppTheory
RSS Feeds