Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module Security
Previous Previous
 
Next Next
New Post 7/28/2008 4:31 PM
User is offline tsensenbach
20 posts
www.quantumclub.com
10th Ranked


Module Security 

Hello DNN Community,

 

I have developed a custom module that I want to allow the typical user to add items to, but I do not want to allow them to access module settings or other functions off the module menu. Basically, all I want the to be able to do is add/edit/delete items from the list and have no access to any other function on the module menu. Will this require another level of security beyond view and edit? Or is there an easier way to accomplish this? Hope so.

 

Thanks Todd.

 
New Post 7/28/2008 6:55 PM
User is offline Ian Robinson
645 posts
www.engagesoftware.com
7th Ranked


Re: Module Security 
Modified By Ian Robinson  on 7/28/2008 8:57:26 PM)

Hey Todd,

The most straightforward way to accomplish this would be to set your module up in a way that the features you would like to restrict would require Edit rights, whereas the "general" functionality would be available to those that have view rights.

If you added to the module settings with your own custom settings, these are already only available to those who have edit rights. However, if currently you have your "Add/Edit" control (assuming you have one) set up as an "Edit" control in your module registration - you'll want to change this to "view".

You can then give "registered users" permission to view your module. Because the registered user will not have "edit" permissions, they will not get to see any of the other settings.

*edit* wanted to clarify that for this module (and potentially the page) only the  "Registered Users" role would have the ability to View -- "All Users" would not, and only Administrators would have the ability to Edit. This should be the appropriate setup - if not let me know and we'll figure it out ;) *edit*

Hope that helps!

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 7/29/2008 2:49 AM
User is offline Thaytu
26 posts
10th Ranked


Re: Module Security 

- Create a new page or choose an existing page in ur DNN site, add the module here. Then setting the page, set "View" for Registered User, now only registered users can access this page, do any actions (add, edit, delete items) but they can't edit or delete module or somethings like that.

 
New Post 7/29/2008 10:00 AM
User is offline tsensenbach
20 posts
www.quantumclub.com
10th Ranked


Re: Module Security 

Hey Ian,

 

Thanks for the reply. This is working exactly as I wanted! Simple answer. I guess I am just too close to this stuff sometmes!

 

Thanks Todd.

 
New Post 7/29/2008 10:01 AM
User is offline tsensenbach
20 posts
www.quantumclub.com
10th Ranked


Re: Module Security 

Hi Thaytu,

 

Thanks for your reply. What you and Ian have suggested worked great!

 

Thanks Todd.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module Security
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP