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  |  

DotNetNuke Marketplace
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Is it possible to define my own security role based on my own logic
Previous Previous
 
Next Next
New Post 7/15/2008 4:33 AM
User is offline arboo
10 posts
10th Ranked


Is it possible to define my own security role based on my own logic 

Hi,

Is it possible that i can define my own security role just like 'Subscriber' or 'Registered users' but that role will be based on my logic (a database query to my created/defined table).

Can you please guide me in regard. And link or information provided in this regard will highly be appreciated.

Actualy scenario:

I am working on a solutions and i have used some thid party modules in it. I have defined a table who has the information about the LogIn user and his allowed features.

I wanted to define a security role check that will  tell me that the Logged in user is present in that particular database table or not (of allowed users) so he should view some modules.

And if the Login user is not in that table then he cannot view those modules.

Those modules are some third party modules. As those modules allow all registered users to view them, i am not able to force this check on those modules.

So i wanted to define my own security roles check at DNN level, that'll control it for me. And in the SETTINGS of those modules, i'll only make them visible to my defined security roles only

So will it be possible to define my own security role at DNN level NOT at particular module level.

Thanks alot!

 
New Post 7/15/2008 5:14 AM
User is offline Declan Ward
158 posts
www.dws.ie
9th Ranked




Re: Is it possible to define my own security role based on my own logic 

For any modules that you wish to restrict access to just change the permissions on the module settings. Uncheck "All Users" and check View/Edit as appropriate for the security roles that you wish to grant access.

Declan

 

 


 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Is it possible to define my own security role based on my own logic
 


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.

 


DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com

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