Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Any One Can hack host account rolesAny One Can hack host account roles
Previous
 
Next
New Post
10/21/2008 8:44 AM
 

Hello Friends,

   I am developing a small ERP System in DNN but I had got some question after seeing this.. that any one can get host account role by having small knowledge of SQL. In user table if any one update IsSuperUser=true then particular user will get the all the rights which was given to host..

Thats it....

so any one can help me to avoid this thing??

 

Thank You

Regards

Boyzs

 
New Post
10/21/2008 9:20 AM
 

The best way to prevent this is not give users a way to run SQL statements. If your site is for more advanced users who can run SQL select statements to generate thier own reports, then create a seperate account for the SQL server that has 'view only' access, so they can't run UPDATE/DELETE/INSERT commands. I'm not a SQL Server expert so I don't know how restrictive a user can be made (such as table level access, ect).

If your users have the ability to directly modify your database, your site's security is compromised.

 
New Post
10/21/2008 9:29 AM
 

Hi Boyzs,

The key to application security is in preventing unauthorized users from making such a change.  The DotNetNuke framework already does an excellent job of this.  You can do your part by ensuring that your server is appropriately locked down and that your database is properly permissive.

I suggest reading over the guidelines located here to get started.

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
10/21/2008 11:01 AM
 

Thanks Bardon

 

    For helping me regards this. Well I am running this application for Local Intranet ERP System and DNN is best in the open source. DNN should work for this point in Version 5.0 or any other Version of DNN securing DNN SuperUsers.

 

Regards

Boyzs

 
New Post
10/21/2008 11:49 AM
 

Boyzs,

what is your idea? Storing the host assignment in roles would require to simple add an entry in userroles table - which does not make a difference. I am not aware of a technique, how to prevent security frauds by anyone, who has full access to your database. If an enemy inside your castle, there is no use of building the walls higher...


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Any One Can hack host account rolesAny One Can hack host account roles


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out