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
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
Nuke Master II
Nuke Master II
Posts:2993

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
tds_softwaredev
Nuke Newbie
Nuke Newbie
Posts:4

07 Jul 2008 10:18 AM  
Thanks for the help Lee!
tds_softwaredev
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
Nuke Master II
Nuke Master II
Posts:2993

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
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > File Manager with Limited Access



ActiveForums 3.7

Latest Forum Posts

Best so far for me by mortymoose
This skin is CSS standard compliant.  I understand though that the solpart menu causes it not to val...
RE: centering a page in dnn by mortymoose
No I don't think there is any way to fix that.  It makes sense though because the scroll bar is actu...
RE: Host and Admin user login not working on remote host by paulrobinson
Yes I can register a user and login as that user. It is just the admin and host users which are not...
RE: New CSS site feedback please! by puuri
Everything, including the Flash elements, seemed to work fine during my viewing. I was trying to fi...
RE: MY FIRST DNN SITE by puuri
I just took a look and made it through just fine. I am very new to DNN and working towards generati...
centering a page in dnn by kawal
I have centered my DNN web pages using {text-align: center;} in the Body element.  This works fine, ...
RE: redirecting registered user to a specific page by puuri
I think I found the area that Joe describes by logging in as the Admin user and then from the Admin ...
RE: File Manager Upload (intermittent error) by dnnmq
Per Lee's suggestion, I removed NETWORK SERVICE from the website root then re-added it with Full Con...
RE: Solpartmenu and line breacks by saintX
Hello Lee and thanks for the answer. Obviously the page name can't exceed to more than 50 charcters....
RE: redirecting registered user to a specific page by saintX
Hello and thank you for the answer. May you please kindly explain me more specific where to find the...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by jncraig
I think that you'd probably be better served asking question like those over on the DotNetNuke forum...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by fletcherdunton
Hi Joe:That makes perfect sense, but I failed to mention that some of the code that I'd added is not...
RE: App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by jncraig
I wouldn't recommend either of those approaches.You don't have to use the source code version of Dot...
App_GlobalResources Runtime Error/Issue With Pre-Compiled Version of 4.08.04 Source Code by fletcherdunton
This thread may be answered somewhere else, so forgive me and point me to the solution.  I'm current...
RE: Database error by derpir
Yeees!!! thank so much Lee!!! I will continue this by looking at video nr 3 on how to transfer fro...
RE: Database error by leesykes
go to programs / microsoft sql server 2005 / configuration tools / SQL server configuration manager....
RE: Database error by derpir
nailed it!!! but how do I restart with the configuration tool? regards //newbie
RE: Database error by derpir
You put me on the right track there. Turns out that I had server authentication set to 'Windows Au...
RE: Issue 22 - Login failed for user xxxx by leesykes
I just checked and it does have it: Right click on the SQL server node - this is the node with th...
RE: Database error by leesykes
I just checked and it does have it:Right click on the SQL server node - this is the node with the gr...
AppTheory
RSS Feeds